799e60aa62
- Move Friendica namespace to `src` - Move required `ezyang/htmlpurifier` to vendor - Remove existing static autoloader - Change boot.php reference to the autoloader
16 lines
248 B
PHP
16 lines
248 B
PHP
<?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
|