]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
forgot we need access to $html too
authorhannes <h@nnesmannerhe.im>
Mon, 11 Jan 2016 20:58:34 +0000 (20:58 +0000)
committerhannes <h@nnesmannerhe.im>
Mon, 11 Jan 2016 20:58:34 +0000 (20:58 +0000)
lib/util.php

index c6951200b52ac106d794233fa6c414c69f9f70d6..294c03221650f4d697c7f1cc866cf6abbf8464dd 100644 (file)
@@ -594,7 +594,7 @@ function common_purify($html)
     $html = common_remove_unicode_formatting($html);
 
     $purified = htmLawed($html, $config);
-    Event::handle('EndCommonPurify', array(&$purified));
+    Event::handle('EndCommonPurify', array(&$purified, $html));
     
     return $purified;
 }