Unverified Commit 075ba173 authored by Thomas Citharel's avatar Thomas Citharel
Browse files

Enable Parsedown Safe-Mode



Also remove the setUrlsLinked(false) so that we can haz urls
Signed-off-by: default avatarThomas Citharel <tcit@tcit.fr>
parent 32492cf1
......@@ -148,7 +148,8 @@ class Utils {
$parseDown
->setMarkupEscaped(true)
->setBreaksEnabled(true)
->setUrlsLinked(false);
->setSafeMode(true)
;
if ($line) {
$html = $parseDown->line($md);
......
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