mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-01-03 13:21:51 +00:00
Comment for bug that needs to get fixed.
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
This commit is contained in:
parent
3b537365a4
commit
83a574491e
@ -682,6 +682,7 @@ class HTMLPurifier_Config
|
|||||||
$trace = debug_backtrace();
|
$trace = debug_backtrace();
|
||||||
// zip(tail(trace), trace) -- but PHP is not Haskell har har
|
// zip(tail(trace), trace) -- but PHP is not Haskell har har
|
||||||
for ($i = 0, $c = count($trace); $i < $c - 1; $i++) {
|
for ($i = 0, $c = count($trace); $i < $c - 1; $i++) {
|
||||||
|
// XXX this is not correct on some versions of HTML Purifier
|
||||||
if ($trace[$i + 1]['class'] === 'HTMLPurifier_Config') {
|
if ($trace[$i + 1]['class'] === 'HTMLPurifier_Config') {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user