mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-11-10 23:58:41 +00:00
fac747bdbd
With minor corrections. Signed-off-by: Marcus Bointon <marcus@synchromedia.co.uk> Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
14 lines
303 B
PHP
14 lines
303 B
PHP
<?php
|
|
|
|
class HTMLPurifier_Strategy_MakeWellFormed_SkipInjector extends HTMLPurifier_Injector
|
|
{
|
|
public $name = 'EndRewindInjector';
|
|
public $needed = array('span');
|
|
public function handleElement(&$token)
|
|
{
|
|
$token = array(clone $token, clone $token);
|
|
}
|
|
}
|
|
|
|
// vim: et sw=4 sts=4
|