aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Wiki.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-12-15 17:19:29 +0000
committerMario <mario@mariovavti.com>2018-12-15 18:20:21 +0100
commitd7c7ff1c12b5d46c71a0aa2421a71b27d36f52d2 (patch)
treea8668dae1a435102d9c78c68fe77c55824e05417 /Zotlabs/Module/Wiki.php
parentd77c7d51e38ef6f33afa1115ec1779ad68410836 (diff)
downloadvolse-hubzilla-d7c7ff1c12b5d46c71a0aa2421a71b27d36f52d2.tar.gz
volse-hubzilla-d7c7ff1c12b5d46c71a0aa2421a71b27d36f52d2.tar.bz2
volse-hubzilla-d7c7ff1c12b5d46c71a0aa2421a71b27d36f52d2.zip
fix wiki preview issue with hyperlinks
(cherry picked from commit 919ea9f750fbb665a655cd26ae86c00e424a4318)
Diffstat (limited to 'Zotlabs/Module/Wiki.php')
-rw-r--r--Zotlabs/Module/Wiki.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Wiki.php b/Zotlabs/Module/Wiki.php
index 892810241..502f96a62 100644
--- a/Zotlabs/Module/Wiki.php
+++ b/Zotlabs/Module/Wiki.php
@@ -442,8 +442,8 @@ class Wiki extends Controller {
$mimeType = $_POST['mimetype'];
if($mimeType === 'text/bbcode') {
- $linkconverted = NativeWikiPage::convert_links($content,$wikiURL);
- $html = zidify_links(smilies(bbcode($linkconverted)));
+ $html = zidify_links(smilies(bbcode($content)));
+ $html = NativeWikiPage::convert_links($html,$wikiURL);
}
elseif($mimeType === 'text/markdown') {
$linkconverted = NativeWikiPage::convert_links($content,$wikiURL);