mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-23 11:15:13 +00:00
f718e2b0db
Updated HTML Purifier from 4.6.0 to 4.9.2 with better PHP7 compatibility. Used composer to manage this library.
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
|