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.

Empty.php 248B

123456789101112131415
  1. <?php
  2. /**
  3. * Concrete empty token class.
  4. */
  5. class HTMLPurifier_Token_Empty extends HTMLPurifier_Token_Tag
  6. {
  7. public function toNode() {
  8. $n = parent::toNode();
  9. $n->empty = true;
  10. return $n;
  11. }
  12. }
  13. // vim: et sw=4 sts=4