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

Incorrect parsing of HTML entities representing numerical entities #43

Closed
brlnguy opened this issue Sep 19, 2013 · 0 comments
Closed

Incorrect parsing of HTML entities representing numerical entities #43

brlnguy opened this issue Sep 19, 2013 · 0 comments

Comments

@brlnguy
Copy link

brlnguy commented Sep 19, 2013

In jjtree/Markdown.jit the expression that checks for numerical references appears to be missing the '#' character that follows the ampersand character. So while this expression is searching for e.g. "&1234;", according to e.g. http://en.wikipedia.org/wiki/Numeric_character_reference it should rather look for "Ӓ". The same holds for hexadecimal numerical entities that would start with "&#x" and not just "&x" as implemented here

| < NUMERIC_CHAR_REF : "&" ( ( ["0"-"9"] ){1,4} | "x" ( ["0"-"9", "a"-"f", "A"-"F"] ){1,4} ) ";" >

@lruiz lruiz closed this as completed in 3fb1a8f Sep 20, 2013
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

No branches or pull requests

1 participant