class Diff extends Diff (View source)
Class representing a 'diff' between two sequences of strings.
cleanHTML(string $content, HTMLCleaner $cleaner = null)
Attempt to clean invalid HTML, which messes up diffs.
This cleans code if possible, using an instance of HTMLCleaner
NB: By default, only extremely simple tidying is performed, by passing through DomDocument::loadHTML and saveXML