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 two unclosed tbody tags the output is different from the way chrome renders it.
While chrome closes the first tbody before the second opening tbody, HAP adds two closing tbody tags at the end.
var html = @"<table><tbody><tr><td></td></tr><tbody><tr><td></td></tr></table>";
var doc = new HtmlDocument();
doc.LoadHtml(html);
var newHtml = doc.DocumentNode.OuterHtml; //<table><tbody><tr><td></td></tr><tbody><tr><td></td></tr></tbody></tbody></table>
var res = @"<table><tbody><tr><td></td></tr></tbody><tbody><tr><td></td></tr></tbody></table>"; //chrome or edge rendering results
var b = newHtml == res; //false
The text was updated successfully, but these errors were encountered:
When we have two unclosed tbody tags the output is different from the way chrome renders it.
While chrome closes the first tbody before the second opening tbody, HAP adds two closing tbody tags at the end.
This is the test I used:
The text was updated successfully, but these errors were encountered: