MediaWiki
1.34.4
|
Public Member Functions | |
characters ( $text, $start, $length, $sourceStart, $sourceLength) | |
comment ( $text, $sourceStart, $sourceLength) | |
doctype ( $name, $public, $system, $quirks, $sourceStart, $sourceLength) | |
endDocument ( $pos) | |
endTag ( $name, $sourceStart, $sourceLength) | |
error ( $text, $pos) | |
getResult () | |
startDocument (Tokenizer $t, $fns, $fn) | |
startTag ( $name, Attributes $attrs, $selfClose, $sourceStart, $sourceLength) | |
Private Member Functions | |
isBlockLevelTag ( $tagName) | |
Detect block level tags. More... | |
Private Attributes | |
$text = '' | |
Static Private Attributes | |
static | $BLOCK_LEVEL_TAGS |
Definition at line 10 of file RemexStripTagHandler.php.
RemexStripTagHandler::characters | ( | $text, | |
$start, | |||
$length, | |||
$sourceStart, | |||
$sourceLength | |||
) |
Definition at line 29 of file RemexStripTagHandler.php.
References $text.
RemexStripTagHandler::comment | ( | $text, | |
$sourceStart, | |||
$sourceLength | |||
) |
Definition at line 53 of file RemexStripTagHandler.php.
RemexStripTagHandler::doctype | ( | $name, | |
$public, | |||
$system, | |||
$quirks, | |||
$sourceStart, | |||
$sourceLength | |||
) |
Definition at line 49 of file RemexStripTagHandler.php.
RemexStripTagHandler::endDocument | ( | $pos | ) |
Definition at line 21 of file RemexStripTagHandler.php.
RemexStripTagHandler::endTag | ( | $name, | |
$sourceStart, | |||
$sourceLength | |||
) |
Definition at line 41 of file RemexStripTagHandler.php.
References isBlockLevelTag().
RemexStripTagHandler::error | ( | $text, | |
$pos | |||
) |
Definition at line 25 of file RemexStripTagHandler.php.
RemexStripTagHandler::getResult | ( | ) |
Definition at line 13 of file RemexStripTagHandler.php.
References $text.
|
private |
Detect block level tags.
Of course css can make anything a block level tag, but this is still better than nothing.
string | $tagName | HTML tag name |
Definition at line 113 of file RemexStripTagHandler.php.
Referenced by endTag(), and startTag().
RemexStripTagHandler::startDocument | ( | Tokenizer | $t, |
$fns, | |||
$fn | |||
) |
Definition at line 17 of file RemexStripTagHandler.php.
RemexStripTagHandler::startTag | ( | $name, | |
Attributes | $attrs, | ||
$selfClose, | |||
$sourceStart, | |||
$sourceLength | |||
) |
Definition at line 33 of file RemexStripTagHandler.php.
References isBlockLevelTag().
|
staticprivate |
Definition at line 63 of file RemexStripTagHandler.php.
|
private |
Definition at line 11 of file RemexStripTagHandler.php.
Referenced by characters(), and getResult().