mirror of
https://github.com/friendica/friendica
synced 2024-11-16 00:53:54 +00:00
799e60aa62
- Move Friendica namespace to `src` - Move required `ezyang/htmlpurifier` to vendor - Remove existing static autoloader - Change boot.php reference to the autoloader
15 lines
248 B
PHP
15 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
|