You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
248 B
16 lines
248 B
4 years ago
|
<?php
|
||
|
|
||
|
/**
|
||
|
* Concrete empty token class.
|
||
|
*/
|
||
|
class HTMLPurifier_Token_Empty extends HTMLPurifier_Token_Tag
|
||
|
{
|
||
|
public function toNode() {
|
||
|
$n = parent::toNode();
|
||
|
$n->empty = true;
|
||
|
return $n;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// vim: et sw=4 sts=4
|