HTML-Renderer icon indicating copy to clipboard operation
HTML-Renderer copied to clipboard

Parsing Emoji throw an exception

Open stanislav-poliakov opened this issue 4 years ago • 2 comments

<span>&#128522;</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]

stanislav-poliakov avatar Mar 31 '20 20:03 stanislav-poliakov

this one is resolved by commit c6b3929

bielik01 avatar Jun 22 '20 11:06 bielik01

Bump how far down the line is a new nuget package with that commit

leichelkraut1 avatar Jul 01 '20 17:07 leichelkraut1