Open chrisyeh96 opened 3 years ago
Thanks for the report. Currently we're blocked on this as our security team has not signed off on an HTML sanitizer which supports sanitizing SVG so the SVG content is being stripped during sanitization.
Tracking in b/191871128.
@chrisyeh96
Inline SVG works inside code blocks if preceded with %%html
So is the magic command then doing sanitization? But only not in Markdown?
This is the best workaround for myself at the moment,
Describe the current behavior
Google Colab seems to provide no ability to embed SVG images into the notebook.
Describe the expected behavior
Google Colab should provide the ability to embed SVG images into the notebook. This is a functionality that Jupyter Lab (partially) supports. For example, all of the following ways of embedding an SVG image into a Jupyter notebook work fine in Jupyter Lab. However, none of them work on Google Colab.
What web browser you are using
Tested on both Microsoft Edge 91.0.864.54 (64-bit) and Firefox 89.0.1 (64-bit)
Additional context
Minimum working example: https://gist.github.com/chrisyeh96/7c720647a03121f231442708d84d2178