0
0
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:
Edward Z. Yang 2012-10-11 11:40:02 -07:00
parent 3b537365a4
commit 83a574491e

View File

@ -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;
} }