Class HTMLPurifier_Token_Text
Concrete text token class.
Text tokens comprise of regular parsed character data (PCDATA) and raw character data (from the CDATA sections). Internally, their data is parsed with all entities expanded. Surprisingly, the text token does have a "tag name" called #PCDATA, which is how the DTD represents it in permissible child nodes.
- HTMLPurifier_Token
- HTMLPurifier_Token_Text
public
|
#
__construct( string $data, integer $line = null, integer $col = null )
Constructor, accepts data and determines if it is whitespace. |
public
|
__get(),
position(),
rawPosition()
|
public
string
|
$name | '#PCDATA' |
|
public
mixed
|
$data |
|
|
public
mixed
|
$is_whitespace |
|
$armor,
$carryover,
$col,
$line,
$rewind,
$skip
|