aboutsummaryrefslogtreecommitdiff
path: root/img
diff options
context:
space:
mode:
authorVasilij Schneidermann <mail@vasilij.de>2024-08-10 15:59:05 +0200
committerVasilij Schneidermann <mail@vasilij.de>2024-08-10 15:59:05 +0200
commit32ded63420134d9995426910c5f5d9f5bd29fff8 (patch)
tree6955845b63d56691ecf361a60c17462bc57da8df /img
parent66820c2c5bec54b080c9d7ed9e777611bae70776 (diff)
Add workaround to render svg>image case
It's very common to have `<svg ...><image href="..."></svg>` for cover pages. However, not all uses of the `<svg>` tag use `<image>` inside, for example some EPUB documents use it for vector logos instead. The given workaround checks whether the SVG node can be safely replaced with an equivalent image and otherwise falls back to regular SVG rendering.
Diffstat (limited to 'img')
0 files changed, 0 insertions, 0 deletions