From 83a574491ee72bc127d21c37a9d6bccf7dfeb73a Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Thu, 11 Oct 2012 11:40:02 -0700 Subject: [PATCH] Comment for bug that needs to get fixed. Signed-off-by: Edward Z. Yang --- library/HTMLPurifier/Config.php | 1 + 1 file changed, 1 insertion(+) diff --git a/library/HTMLPurifier/Config.php b/library/HTMLPurifier/Config.php index 554980f2..648115b9 100644 --- a/library/HTMLPurifier/Config.php +++ b/library/HTMLPurifier/Config.php @@ -682,6 +682,7 @@ class HTMLPurifier_Config $trace = debug_backtrace(); // zip(tail(trace), trace) -- but PHP is not Haskell har har 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') { continue; }