MediaWiki REL1_35
|
Public Member Functions | |
characters ( $text, $start, $length, $sourceStart, $sourceLength) | |
endTag ( $name, $sourceStart, $sourceLength) | |
getResult () | |
startTag ( $name, Attributes $attrs, $selfClose, $sourceStart, $sourceLength) | |
Private Member Functions | |
isBlockLevelTag ( $tagName) | |
Detect block level tags. | |
Private Attributes | |
$text = '' | |
const | BLOCK_LEVEL_TAGS |
Definition at line 9 of file RemexStripTagHandler.php.
RemexStripTagHandler::characters | ( | $text, | |
$start, | |||
$length, | |||
$sourceStart, | |||
$sourceLength | |||
) |
Definition at line 16 of file RemexStripTagHandler.php.
References $text.
RemexStripTagHandler::endTag | ( | $name, | |
$sourceStart, | |||
$sourceLength | |||
) |
Definition at line 28 of file RemexStripTagHandler.php.
References isBlockLevelTag().
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 92 of file RemexStripTagHandler.php.
Referenced by endTag(), and startTag().
RemexStripTagHandler::startTag | ( | $name, | |
Attributes | $attrs, | ||
$selfClose, | |||
$sourceStart, | |||
$sourceLength | |||
) |
Definition at line 20 of file RemexStripTagHandler.php.
References isBlockLevelTag().
|
private |
Definition at line 10 of file RemexStripTagHandler.php.
Referenced by characters(), and getResult().
|
private |
Definition at line 42 of file RemexStripTagHandler.php.