MediaWiki master
|
Inherits HtmlFormatter.
Public Member Functions | |
__construct ( $options=[]) | |
characters (SerializerNode $parent, $text, $start, $length) | |
WATCH OUT! Unlike normal HtmlFormatter, this class expects that the $text argument contains unexpanded character references (entities), as a result of using the 'ignoreCharRefs' option in Tokenizer. | |
element (SerializerNode $parent, SerializerNode $node, $contents) | |
startDocument ( $fragmentNamespace, $fragmentName) | |
WATCH OUT! Unlike normal HtmlFormatter, this class requires the 'ignoreCharRefs' option in Tokenizer to be used. If that option is not used, it will produce wrong results (T354361).
Definition at line 16 of file RemexCompatFormatter.php.
MediaWiki\Tidy\RemexCompatFormatter::__construct | ( | $options = [] | ) |
Definition at line 26 of file RemexCompatFormatter.php.
MediaWiki\Tidy\RemexCompatFormatter::characters | ( | SerializerNode | $parent, |
$text, | |||
$start, | |||
$length ) |
WATCH OUT! Unlike normal HtmlFormatter, this class expects that the $text argument contains unexpanded character references (entities), as a result of using the 'ignoreCharRefs' option in Tokenizer.
If that option is not used, this method will produce wrong results (T354361).
Definition at line 48 of file RemexCompatFormatter.php.
MediaWiki\Tidy\RemexCompatFormatter::element | ( | SerializerNode | $parent, |
SerializerNode | $node, | ||
$contents ) |
Definition at line 64 of file RemexCompatFormatter.php.
MediaWiki\Tidy\RemexCompatFormatter::startDocument | ( | $fragmentNamespace, | |
$fragmentName ) |
Definition at line 37 of file RemexCompatFormatter.php.