Is there a simple way to fix elements in a html document that miss the ending tag, or /> ending? I'm using ASP.NET with c# (loads html with the help of Html Agility Pack).
An example:
<img src="www.example.com/image.jpg">
should transform into
<img src="www.example.com/image.jpg" />
or
<img src="www.example.com/image.jpg"></img>