Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -148,7 +148,8 @@ class Utils {
$parseDown
->setMarkupEscaped(true)
->setBreaksEnabled(true)
->setUrlsLinked(false);
->setSafeMode(true)
;
if ($line) {
$html = $parseDown->line($md);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment