-
Notifications
You must be signed in to change notification settings - Fork 572
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clean_html: allow SVG tags and SVG attributes #1890
Conversation
@blink1073 How can I make |
I added the tag. Thanks for working on this again! |
b16b0a2
to
93a1ea4
Compare
Ah, I'll still need to see that |
Ah, darnit. |
@blink1073 Right, this PR will allow a certain subset of SVG embedded into HTML. The templates for actual nbconvert/share/templates/lab/base.html.j2 Line 166 in a806744
image/svg+xml is not HTML to begin with.
This PR is nevertheless an improvement to the status quo... What do you think? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@martinRenou FYI. |
This reverts commit b91c7a5.
Fixes #1849
Refs #1854