Skip to content
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

Double Escaping #74

Closed
kimikage opened this issue Mar 18, 2024 · 0 comments · Fixed by #75
Closed

Double Escaping #74

kimikage opened this issue Mar 18, 2024 · 0 comments · Fixed by #75

Comments

@kimikage
Copy link
Owner

using ProfileSVG
ProfileSVG.escape_html(">") # ">"

This seems to be a bug that has existed since the very beginning.

function eschtml(str)
s = replace(str, '<' => "&lt;")
s = replace(s, '>' => "&gt;")
s = replace(s, '&' => "&amp;")
s
end

This bug does not appear in the interactive displays using JavaScript.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant