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
When we have a closing tag before the current open tag is closed we have different results between HAP and Chrome rendering.
While chrome moves the wrong closing tag to after the current tag is closed, HAP closes the current tag ending up with an extra closing tag.
var html = @"<html><head></head><body><div><form></div></form></body></html>";
var doc = new HtmlDocument();
doc.LoadHtml(html);
var newHtml = doc.DocumentNode.OuterHtml; //<html><head></head><body><div><form></form></div></form></body></html>
var res = @"<html><head></head><body><div><form></form></div></body></html>"; //chrome or edge rendering results
var b = newHtml == res; //false
The text was updated successfully, but these errors were encountered:
When we have a closing tag before the current open tag is closed we have different results between HAP and Chrome rendering.
While chrome moves the wrong closing tag to after the current tag is closed, HAP closes the current tag ending up with an extra closing tag.
This is the test I used:
The text was updated successfully, but these errors were encountered: