wallabag/inc/3rdparty/htmlpurifier/HTMLPurifier/Token/Empty.php

16 lines
263 B
PHP
Raw Normal View History

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