You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HtmlDocument doc = new HtmlDocument();
string subcriterionCritiqueDecode = WebUtility.HtmlDecode(page); // decode html first before loadHtml
doc.LoadHtml(subcriterionCritiqueDecode);
I have some html code like this inside a <td>:
<td>1.0 through version 2.0</td>
I expect the will be converted to space (hex: 0x20) in the InnerText, however I found that the HAP converted it into 0xA0! (I checked by showing the hex value using Console.WriteLine("{0:X2}", (int)ch);
HAP version: 1.11.46
.NET version: 7.0.1
The text was updated successfully, but these errors were encountered:
(Please be so kind and close your issue report, as it is based on an incorrect assumption. You as the author of the issue report should see the close button at the bottom of this issue thread. Thanks!)
I found a quite weird problem.
I follow the guide "Decode and strip HTML" example to decode the html before loading
https://html-agility-pack.net/online-examples
I expect the
will be converted to space (hex: 0x20) in the InnerText, however I found that the HAP converted it into 0xA0! (I checked by showing the hex value usingConsole.WriteLine("{0:X2}", (int)ch);
HAP version: 1.11.46
.NET version: 7.0.1
The text was updated successfully, but these errors were encountered: