repo.or.cz
/
htmlpurifier
/
darkodev.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Prepended constants with C_ to avoid reserved words as per https://www.php.net/manual...
[htmlpurifier/darkodev.git]
/
tests
/
HTMLPurifier
/
Strategy
/
MakeWellFormed
/
SkipInjector.php
blob
65e068ec02b1518598ef4d5d243fb5b4fe292e63
1
<
?php
2
3
class
HTMLPurifier_Strategy_MakeWellFormed_SkipInjector
extends
HTMLPurifier_Injector
4
{
5
public
$name
=
'EndRewindInjector'
;
6
public
$needed
=
array
(
'span'
);
7
public function
handleElement
(&
$token
)
8
{
9
$token
=
array
(
clone
$token
,
clone
$token
);
10
}
11
}
12
13
// vim: et sw=4 sts=4