Commit baadea8e authored by Thomas Citharel's avatar Thomas Citharel
Browse files

Merge branch 'security/parsedown-safe-mode' into 'develop'

Enable Parsedown Safe-Mode

Closes #226

See merge request framasoft/framadate!293
parents 32492cf1 075ba173
......@@ -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