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

Can only get .OuterHtml once

description

If you retrieve

document.DocumentNode.OuterHtml once, then manipulate the dom, then retrieve it again, nothing will be changed. It is as if the .OuterHtml property freezes after the first retrieval. Most likely it is being 'cached' after first being retrieved, causing it to get stuck on the original value.

See this discussion:

http://stackoverflow.com/questions/25784761/html-doesnt-get-updated-with-html-agility-pack/33181688#33181688

comments