forked from GNUsocial/gnu-social
forgot we need access to $html too
This commit is contained in:
parent
8d331b0f35
commit
a1b509bb0b
@ -594,7 +594,7 @@ function common_purify($html)
|
|||||||
$html = common_remove_unicode_formatting($html);
|
$html = common_remove_unicode_formatting($html);
|
||||||
|
|
||||||
$purified = htmLawed($html, $config);
|
$purified = htmLawed($html, $config);
|
||||||
Event::handle('EndCommonPurify', array(&$purified));
|
Event::handle('EndCommonPurify', array(&$purified, $html));
|
||||||
|
|
||||||
return $purified;
|
return $purified;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user