New 'libraries' folder in root instalation directory
This commit is contained in:
parent
05b6a91b0c
commit
006992b900
2267 changed files with 50 additions and 65 deletions
15
libraries/htmlpurifier/HTMLPurifier/Token/Empty.php
Normal file
15
libraries/htmlpurifier/HTMLPurifier/Token/Empty.php
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?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
|
Reference in a new issue