aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-12-15 18:19:29 +0100
committerMario Vavti <mario@mariovavti.com>2018-12-15 18:19:29 +0100
commit919ea9f750fbb665a655cd26ae86c00e424a4318 (patch)
treea140b7f6c7df1c3cb0fa2a22e39af1e6505b06dd
parent1e526e68ab8476dde187a03ec2348c7397d80b26 (diff)
downloadvolse-hubzilla-919ea9f750fbb665a655cd26ae86c00e424a4318.tar.gz
volse-hubzilla-919ea9f750fbb665a655cd26ae86c00e424a4318.tar.bz2
volse-hubzilla-919ea9f750fbb665a655cd26ae86c00e424a4318.zip
fix wiki preview issue with hyperlinks
-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);