wp-visitor-contributions/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Token/Empty.php

16 lines
248 B
PHP

2016-07-12 16:58:19 -05:00
<?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