mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-07-31 03:10:09 +02:00
Refactor Injector not to edit $result directly.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1212 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
@@ -225,7 +225,8 @@ class HTMLPurifier_Strategy_MakeWellFormed extends HTMLPurifier_Strategy
|
||||
$current_nesting[] = $token;
|
||||
} elseif ($token->type == 'end') {
|
||||
// theoretical: this isn't used because performing
|
||||
// the calculations otherwise is more efficient
|
||||
// the calculations inline is more efficient, and
|
||||
// end tokens currently do not cause a handler invocation
|
||||
array_pop($current_nesting);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user