forked from GNUsocial/gnu-social
EndCommonPurify event
This commit is contained in:
parent
c826fe0af4
commit
8d331b0f35
@ -593,7 +593,10 @@ function common_purify($html)
|
|||||||
|
|
||||||
$html = common_remove_unicode_formatting($html);
|
$html = common_remove_unicode_formatting($html);
|
||||||
|
|
||||||
return htmLawed($html, $config);
|
$purified = htmLawed($html, $config);
|
||||||
|
Event::handle('EndCommonPurify', array(&$purified));
|
||||||
|
|
||||||
|
return $purified;
|
||||||
}
|
}
|
||||||
|
|
||||||
function common_remove_unicode_formatting($text)
|
function common_remove_unicode_formatting($text)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user