• Resolved strarsis

    (@strarsis)


    This plugin doesn’t seem to filter the image dimensions of SVGs correctly or completely.
    A division-by-zero bug is still happening even with this plugin enabled,
    see https://github.com/WordPress/gutenberg/issues/36603.
    At least return a non-zero fallback for SVGs for which the dimension can’t be determined,
    to prevent these unexpected division-by-zero errors.

Viewing 1 replies (of 1 total)
  • Plugin Support Darin Kotter

    (@dkotter)

    @strarsis Thanks for this report and the code example you’ve provided. There’s a similar report already opened on GitHub and I just opened a PR that fixes that (and should address this issue as well). Feel free to test that out and let us know if that solves your issue. Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Filter image dimensions of SVGs’ is closed to new replies.