We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 8d331b0f authored by hannes's avatar hannes

EndCommonPurify event

parent c826fe0a
......@@ -593,7 +593,10 @@ function common_purify($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)
......@@ -2458,4 +2461,4 @@ function html_sprintf()
function _ve($var)
return var_export($var, true);
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment