When embedding transparent SVG with text content in documentation with .. raw:: html <object data=image-path type="image/svg+xml"></object> A white background is shown despite the file having a transparent background. The same image will show a transparent background as expected when embedded with .. image::.
This happens after we update the Furo theme. Is it possible to embed SVG with text by using.. raw:: html and won't have a white background?
As expected, the same image will show a transparent background
Reproducer
Build Sphinx documentation at 'visual studio'
Go to 'terminal' build document '.\make.bat html'
Click on the build document link
Check the images embedded
Expectation
When embedding transparent SVG with text content with .. raw:: html, the background should behave as its original design.
What's happening?
When embedding transparent SVG with text content in documentation with
.. raw:: html <object data=image-path type="image/svg+xml"></object>
A white background is shown despite the file having a transparent background. The same image will show a transparent background as expected when embedded with.. image::
.This happens after we update the Furo theme. Is it possible to embed SVG with text by using
.. raw::
html and won't have a white background?As expected, the same image will show a transparent background
Reproducer
Expectation
When embedding transparent SVG with text content with
.. raw:: html
, the background should behave as its original design.Code of Conduct