-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Bug] – /   in annotation causes malformed SVG download #3238
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
Comments
Ah thanks - definitely a bug that the SVG is malformed, but we don't currently plan to support arbitrary named HTML entities (so I'd say the "correct result" here would be to display "
The "existing set" is a few entities we've supported for a very long time: plotly.js/src/lib/svg_text_utils.js Lines 339 to 348 in 427fd14
|
Ah I see! |
Hi - this issue has been sitting for a while, so as part of our effort to tidy up our public repositories I'm going to close it. If it's still a concern, we'd be grateful if you could open a new issue (with a short reproducible example if appropriate) so that we can add it to our stack. Cheers - @gvwilson |
Hi everyone.
So if you use
–
inannotations: [{ text: "–}]"
you get a malformed SVG. Why does
work, though?EDIT:
 
also doesn't work...Here an example: https://codepen.io/anon/pen/MzJoOG
The text was updated successfully, but these errors were encountered: