BBnepal-Accounts/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Token/Empty.php
Sampanna Rimal 9cd05ef3cb commitall
2024-07-10 18:28:19 +05:45

16 lines
248 B
PHP

<?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