HTML-Renderer
HTML-Renderer copied to clipboard
Parsing Emoji throw an exception
<span>😊</span>
System.OverflowException: 'Value was either too large or too small for a character.'
This exception was originally thrown at this call stack:
System.Convert.ToChar(long)
TheArtOfDev.HtmlRenderer.Core.Utils.HtmlUtils.DecodeHtmlCharByCode(string)
TheArtOfDev.HtmlRenderer.Core.Utils.HtmlUtils.DecodeHtml(string)
TheArtOfDev.HtmlRenderer.Core.Dom.CssBox.ParseToWords()
TheArtOfDev.HtmlRenderer.Core.Parse.DomParser.CorrectTextBoxes(TheArtOfDev.HtmlRenderer.Core.Dom.CssBox)
...
[Call Stack Truncated]
this one is resolved by commit c6b3929
Bump how far down the line is a new nuget package with that commit