This project has moved and is read-only. For the latest updates, please go here.
1
Vote

DocumentNode.OuterHtml and Comment nodes

description

I manually append a comment node (var comment = hdoc.CreateComment, hdoc - an instance of HtmlDocument class, aNode.AppendChild(comment)).
Then I call hdoc.DocumentNode.OuterHtml to see the whole html text. Every comment node in this text is not surronded with common <-- and --> symbols, just the text of comment.

comments