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

entities in math #2

Closed
drlippman opened this issue Mar 5, 2014 · 1 comment

Comments

Projects
None yet
1 participant
@drlippman
Copy link
Contributor

commented Mar 5, 2014

When using AsciiMathML with editors like TinyMCE, I've run into issues with entities like   or < ending up in the string that AsciiMath has to parse. I would encourage adding, in the top of the parseMath function, some basic cleanup:

str = str.replace(/ /g,"");
str = str.replace(/>/g,">");
str = str.replace(/&lt;/g,"<");
@drlippman

This comment has been minimized.

Copy link
Contributor Author

commented Jul 6, 2014

Added these cleanup lines in e235c54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.