This becomes much more useful when you assign it to something
authorMichael M Slusarz <slusarz@curecanti.org>
Mon, 12 Oct 2009 15:19:08 +0000 (09:19 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Mon, 12 Oct 2009 15:19:08 +0000 (09:19 -0600)
framework/Text_Filter/lib/Horde/Text/Filter/Xss.php

index 0699327..6dba5e9 100644 (file)
@@ -229,7 +229,7 @@ class Horde_Text_Filter_Xss extends Horde_Text_Filter
         }
 
         // Remove and store CDATA data.
-        preg_replace_callback('/<!\[CDATA\[.*?\]\]>/is', array($this, '_preProcessCallback'), $text);
+        $text = preg_replace_callback('/<!\[CDATA\[.*\]\]>/is', array($this, '_preProcessCallback'), $text);
 
         return $text;
     }