MediaWiki
1.32.5
|
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 25 of file RemexStripTagHandler.php.
RemexStripTagHandler::comment | ( | $text, | |
$sourceStart, | |||
$sourceLength | |||
) |
Definition at line 45 of file RemexStripTagHandler.php.
RemexStripTagHandler::doctype | ( | $name, | |
$public, | |||
$system, | |||
$quirks, | |||
$sourceStart, | |||
$sourceLength | |||
) |
Definition at line 42 of file RemexStripTagHandler.php.
RemexStripTagHandler::endDocument | ( | $pos | ) |
Definition at line 19 of file RemexStripTagHandler.php.
RemexStripTagHandler::endTag | ( | $name, | |
$sourceStart, | |||
$sourceLength | |||
) |
Definition at line 35 of file RemexStripTagHandler.php.
References $name, isBlockLevelTag(), and text.
RemexStripTagHandler::error | ( | $text, | |
$pos | |||
) |
Definition at line 22 of file RemexStripTagHandler.php.
RemexStripTagHandler::getResult | ( | ) |
Definition at line 12 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 103 of file RemexStripTagHandler.php.
Referenced by endTag(), and startTag().
RemexStripTagHandler::startDocument | ( | Tokenizer | $t, |
$fns, | |||
$fn | |||
) |
Definition at line 16 of file RemexStripTagHandler.php.
RemexStripTagHandler::startTag | ( | $name, | |
Attributes | $attrs, | ||
$selfClose, | |||
$sourceStart, | |||
$sourceLength | |||
) |
Definition at line 28 of file RemexStripTagHandler.php.
References $name, isBlockLevelTag(), and text.
|
staticprivate |
Definition at line 55 of file RemexStripTagHandler.php.
|
private |
Definition at line 11 of file RemexStripTagHandler.php.
Referenced by characters(), and getResult().