We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ba2089 commit a73df1eCopy full SHA for a73df1e
sphinx/transforms/post_transforms/images.py
@@ -200,6 +200,9 @@ def match(self, node: nodes.image) -> bool:
200
elif set(self.guess_mimetypes(node)) & set(self.app.builder.supported_image_types):
201
# builder supports the image; no need to convert
202
return False
203
+ elif node['uri'].startswith('data:'):
204
+ # all data URI MIME types are assumed to be supported
205
+ return False
206
elif self.available is None:
207
# store the value to the class variable to share it during the build
208
self.__class__.available = self.is_available()
0 commit comments