Diff deprecated
class Diff extends Diff (View source)
deprecated
Class representing a 'diff' between two sequences of strings.
Properties
public static | $html_cleaner_class |
Methods
public static
mixed|string
cleanHTML(string $content, HTMLCleaner $cleaner = null)
deprecated
Attempt to clean invalid HTML, which messes up diffs.
public static
string
Details
__construct($from_lines, $to_lines)
No description
static mixed|string
cleanHTML(string $content, HTMLCleaner $cleaner = null)
deprecated
deprecated
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
static string
compareHTML(string $from, string $to, bool $escape = false)
deprecated
deprecated
No description
static array
getHTMLChunks(string|bool|array $content)
deprecated
deprecated
No description