/lib/htmlpurifier/HTMLPurifier/Token/Empty.php
https://bitbucket.org/synergylearning/campusconnect · PHP · 15 lines · 9 code · 2 blank · 4 comment · 0 complexity · c13013371746cf36b46fe3dc6fac3d9d MD5 · raw file
- <?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