Skip to content

fix: use a more robust escape method#11

Open
hanwenzhu wants to merge 1 commit intoPatrickMassot:masterfrom
hanwenzhu:fix-jquery-escape
Open

fix: use a more robust escape method#11
hanwenzhu wants to merge 1 commit intoPatrickMassot:masterfrom
hanwenzhu:fix-jquery-escape

Conversation

@hanwenzhu
Copy link
Copy Markdown

Currently, latexLabelEscaper only escapes . and : which misses other characters like ' and @. This causes errors in the depgraph HTML when a node with a special character like ' in the label is clicked. CSS.escape is a function specifically for this purpose, and here I use it instead of the custom escaper.

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 this pull request may close these issues.

1 participant