PhilipEve
PhilipEve
Please find attached a project that also exhibits a stack overflow when run, on getting the OuterHtml of a node. The code in the project reads some HTML, modifies it...
Further to the above - the failure is not seen (in either of its forms) if the line node.Attributes.RemoveAll(); is commented out.
Workaround ``` private static void RemoveAllAttributes(HtmlNode node) { // We should be able to do this: // node.Attributes.RemoveAll(); // But there is a bug, see https://github.com/zzzprojects/html-agility-pack/issues/103 var attributeNames = node.Attributes.Select(attr...