You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been investigating this, after recently modifying some image-download code -- I was wondering if that could be related. It doesn't seem to be, but I'll report some findings from along the way:
Before 0a76199, the DataURIExtractor could successfully match data URIs during latex builds: the above condition would always fail, allowing fallback to the final check for the data: protocol scheme (v7.3.0 permalink).
Describe the bug
Images with
data:
URIs are not converted correctly in LaTeX output.This is the error when running LaTeX:
How to Reproduce
Try to build the LaTeX/PDF from https://github.com/mgeier/rsvgconverter-bug, after disabling the
rsvg_converter_bin
setting inconf.py
(https://github.com/mgeier/rsvgconverter-bug/blob/8e107a6c7fca594a30c540117007716e967ee83e/conf.py#L5C1-L5C19).According to
git bisect
, this is the culprit: 0a76199 (released in Sphinx 7.3.0).Environment Information
Sphinx extensions
['sphinxcontrib.rsvgconverter']
Additional context
See #10073 and #10118, which might be related.
The text was updated successfully, but these errors were encountered: