Commit d95f7efe authored by Zot's avatar Zot Committed by Mario
Browse files

after all of this, I would be very hesitant to use any multi-user system which...

after all of this, I would be very hesitant to use any multi-user system which uses markdown and which doesn't have a large security budget.
parent e97dd48b
......@@ -82,7 +82,7 @@ class MarkdownSoap {
$s = str_replace(' ',' ',$s);
$s = purify_html($s);
$s = str_replace([' ', mb_convert_encoding(' ','UTF-8','HTML-ENTITIES')], [ ' ', ' ' ],$s);
$s = str_replace(['<br>','<br />'],["\n","\n"],$s);
$s = str_replace(['<br>','<br />', '&lt;', '&gt;' ],["\n","\n", '<', '>'],$s);
return $s;
}
......
Supports Markdown
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