-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add full named entities support #8
Comments
Hi, this looks like an issue for |
This library is about html parser. It would be logical to have full syntax support. In angular, the compiler used a shortlist of named entities, because this dictionary goes into production bundle and thereby minimize the size of the output bundle. From the point of view of the angular, this is quite correct. But for html parser, witch used which is used in products like 'prettier', I think this is not correct. |
Make sense. |
I'm submitting a...
Current behavior
For now, a parser is not supporting all list of named entities, so we have errors in parsing completely correct (by WHATWG specification) data. Just because the parser side is not a complete list.
Expected behavior
Anyway, there should be no mistake. There may be two solutions. We can update the list and bring it into line with the specification (for example, from here). Or we can allow any sequence of characters between
&
and;
.Minimal reproduction of the problem
Input:
Error:
Environment
The text was updated successfully, but these errors were encountered: