3use RemexHtml\Tokenizer\Attributes;
4use RemexHtml\Tokenizer\NullTokenHandler;
16 public function characters(
$text, $start, $length, $sourceStart, $sourceLength ) {
17 $this->text .= substr(
$text, $start, $length );
20 public function startTag( $name, Attributes $attrs, $selfClose, $sourceStart, $sourceLength ) {
28 public function endTag( $name, $sourceStart, $sourceLength ) {
93 $key = strtolower( trim( $tagName ) );
94 return isset( self::BLOCK_LEVEL_TAGS[$key] );
endTag( $name, $sourceStart, $sourceLength)
isBlockLevelTag( $tagName)
Detect block level tags.
characters( $text, $start, $length, $sourceStart, $sourceLength)
startTag( $name, Attributes $attrs, $selfClose, $sourceStart, $sourceLength)