aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Wiki.php
diff options
context:
space:
mode:
authorKlaus <Klaus.Weidenbach@gmx.net>2017-03-18 11:35:19 +0100
committerKlaus Weidenbach <Klaus.Weidenbach@gmx.net>2017-03-18 14:15:02 +0100
commitcbd401c3e8f7d20a32089af9074c60e266f30da7 (patch)
tree2dffae54b23c0d32500505f6a96e4cf3be486f13 /Zotlabs/Module/Wiki.php
parent16df1c1ad4251db369a9b90889c12c186a2f12fb (diff)
downloadvolse-hubzilla-cbd401c3e8f7d20a32089af9074c60e266f30da7.tar.gz
volse-hubzilla-cbd401c3e8f7d20a32089af9074c60e266f30da7.tar.bz2
volse-hubzilla-cbd401c3e8f7d20a32089af9074c60e266f30da7.zip
Missed one old Markdown()
Diffstat (limited to 'Zotlabs/Module/Wiki.php')
-rw-r--r--Zotlabs/Module/Wiki.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/Zotlabs/Module/Wiki.php b/Zotlabs/Module/Wiki.php
index 5e7307c7b..42de8db50 100644
--- a/Zotlabs/Module/Wiki.php
+++ b/Zotlabs/Module/Wiki.php
@@ -327,9 +327,8 @@ class Wiki extends \Zotlabs\Web\Controller {
$html = Zlib\NativeWikiPage::convert_links(zidify_links(smilies(bbcode($content))),$wikiURL);
}
else {
- require_once('library/markdown.php');
$content = Zlib\NativeWikiPage::bbcode($content);
- $html = Zlib\NativeWikiPage::generate_toc(zidify_text(purify_html(Markdown($content))));
+ $html = Zlib\NativeWikiPage::generate_toc(zidify_text(purify_html(MarkdownExtra::defaultTransform($content))));
$html = Zlib\NativeWikiPage::convert_links($html,$wikiURL);
}
json_return_and_die(array('html' => $html, 'success' => true));