-
-
Notifications
You must be signed in to change notification settings - Fork 381
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
Support HTML5 entities #458
Comments
Hello @leoshusar , Just to make sure, what is exactly the behavior you are looking for? Could you show us an example? I know there is already some stuff that we support in this part. See:
But we indeed maybe not support what you are looking for but this is the part I'm not sure about your request. Best Regards, Jon Sponsorship Performance Libraries Runtime Evaluation |
Hi, @JonathanMagnan, for example this string:
and these are outputs when you try do decode it in C#:
because neither of these decoders have HTML5 support. Here is the W3 spec with all the HTML5 characters, there is 2231 of them :) But there are some differences between HTML4 and 5 (noted here), for example:
so the DeEntitizer cannot just be updated with new characters. And that's also the reason why the PR was not merged in dotnet. |
Hi! Would it be possible to add support for HTML5 entities? .NET team dropped the PR since they are not backwards compatible and there was little interest from people so they decided not to update it yet.
Few examples I have run into today are
! ( ) $comma; ...
The text was updated successfully, but these errors were encountered: