Image tag not closing with HTMLAgilityPack

Telling it to output XML as Micky suggests works, but if you have other reasons not to want XML, try this:

doc.OptionWriteEmptyNodes = true;

Leave a Comment