]> git.immae.eu Git - github/wallabag/wallabag.git/blob - inc/3rdparty/htmlpurifier/HTMLPurifier/Token/Empty.php
[add] HTML Purifier added to clean code
[github/wallabag/wallabag.git] / inc / 3rdparty / htmlpurifier / HTMLPurifier / Token / Empty.php
1 <?php
2
3 /**
4 * Concrete empty token class.
5 */
6 class HTMLPurifier_Token_Empty extends HTMLPurifier_Token_Tag
7 {
8 public function toNode() {
9 $n = parent::toNode();
10 $n->empty = true;
11 return $n;
12 }
13 }
14
15 // vim: et sw=4 sts=4