mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-05 07:16:29 +00:00
15 lines
263 B
PHP
15 lines
263 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
|