I\'m trying to parse a document and get all the image tags and change the source for something different.
$domDocument = new DOMDocument(); $domDo
If you are up to a hack, this is the way I managed to go around this annoyance. Load the string as XML and save it as HTML. :)