aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Wiki.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-03-14 17:07:29 -0700
committerMario Vavti <mario@mariovavti.com>2017-03-29 13:39:36 +0200
commitfa629841bd2fd150531a5494504a24b13a0c4503 (patch)
tree934f08441cafe23667f66988266e492eba075c34 /Zotlabs/Module/Wiki.php
parent155b57c2de6e07147733f67605560c5ec00dc5e5 (diff)
downloadvolse-hubzilla-fa629841bd2fd150531a5494504a24b13a0c4503.tar.gz
volse-hubzilla-fa629841bd2fd150531a5494504a24b13a0c4503.tar.bz2
volse-hubzilla-fa629841bd2fd150531a5494504a24b13a0c4503.zip
input filter updates
Diffstat (limited to 'Zotlabs/Module/Wiki.php')
-rw-r--r--Zotlabs/Module/Wiki.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zotlabs/Module/Wiki.php b/Zotlabs/Module/Wiki.php
index 948c67c09..ef0cb11f1 100644
--- a/Zotlabs/Module/Wiki.php
+++ b/Zotlabs/Module/Wiki.php
@@ -244,6 +244,7 @@ class Wiki extends \Zotlabs\Web\Controller {
$renderedContent = Zlib\NativeWikiPage::convert_links(zidify_links(smilies(bbcode($content))), argv(0) . '/' . argv(1) . '/' . $wikiUrlName);
}
else {
+ $content = Zlib\MarkdownSoap::unescape($content);
$html = Zlib\NativeWikiPage::generate_toc(zidify_text(purify_html(MarkdownExtra::defaultTransform(Zlib\NativeWikiPage::bbcode($content)))));
$renderedContent = Zlib\NativeWikiPage::convert_links($html, argv(0) . '/' . argv(1) . '/' . $wikiUrlName);
}