repo.or.cz
/
htmlpurifier.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add conversion functions for our own tree format.
[htmlpurifier.git]
/
library
/
HTMLPurifier
/
Token
/
Empty.php
blob
78a95f55555f9cdff640137551eb4d5e26969c9f
1
<
?php
2
3
/**
4
* Concrete empty token class.
5
*/
6
class
HTMLPurifier_Token_Empty
extends
HTMLPurifier_Token_Tag
7
{
8
public function
toNode
() {
9
$n
=
parent
::
toNode
();
10
$n
->
empty
=
true
;
11
return
$n
;
12
}
13
}
14
15
// vim: et sw=4 sts=4