HtmlEntity.DeEntitize not working for more than two byte entities (like emojis)
Example:
HtmlAgilityPack.HtmlEntity.DeEntitize("👍")
Current output (using version 1.8.4):
"&##128077;"
Expected output:
"👍" // aka "\uD83D\uDC4D"
Note: The DeEntitize works for two-byte HTML entities, e.g. Ԁ gets converted to Ԁ, which is correct. But when it's more bytes, it no longer works, and it actually malforms the input by adding additional # character.
Hello @tompazourek ,
Thank you for reporting, we will look at it.
Best Regards,
Jonathan
Performance Libraries
context.BulkInsert(list, options => options.BatchSize = 1000);
Entity Framework Extensions • Bulk Operations • Dapper Plus • LinqToSql Plus
Runtime Evaluation
Eval.Execute("x + y", new {x = 1, y = 2}); // return 3
C# Eval Function • SQL Eval Function
Hello,
Is there any update to this one?