summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorSemyon Novikov <me@sdfgh153.ru>2015-03-25 08:35:07 +0500
committerSemyon Novikov <me@sdfgh153.ru>2015-03-25 08:35:07 +0500
commit9a04118fcd53b75390df088c78d4828275988e56 (patch)
treee7deffd56d0f850360abd4ffa4468695a2039986 /app
parent92510eefb15fe6c140b295487a1e0830d29e2029 (diff)
Add option for toggling html escapes inside markdown fields
Diffstat (limited to 'app')
-rw-r--r--app/Core/Helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Core/Helper.php b/app/Core/Helper.php
index 34a5e6ab..883e457e 100644
--- a/app/Core/Helper.php
+++ b/app/Core/Helper.php
@@ -502,7 +502,7 @@ class Helper
public function markdown($text, array $link = array())
{
$parser = new Markdown($link, $this);
- $parser->setMarkupEscaped(true);
+ $parser->setMarkupEscaped(MARKDOWN_ESCAPED);
return $parser->text($text);
}