aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-08-03 20:53:51 -0400
committerAndrew Manning <tamanning@zoho.com>2016-08-03 20:53:51 -0400
commit05a9f0aa1473e155c7f0ac27ef733bf174e49abd (patch)
treeed34c31b6e1e4f38e6c43846079026ef962e348a /Zotlabs/Module
parent64810405ef4ce33646031b16efcfb038fcdb2ded (diff)
downloadvolse-hubzilla-05a9f0aa1473e155c7f0ac27ef733bf174e49abd.tar.gz
volse-hubzilla-05a9f0aa1473e155c7f0ac27ef733bf174e49abd.tar.bz2
volse-hubzilla-05a9f0aa1473e155c7f0ac27ef733bf174e49abd.zip
Convert select bbcode tags including [observer], [baseurl], [sitename]
Diffstat (limited to 'Zotlabs/Module')
-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 55a52ea6d..2e3dbb673 100644
--- a/Zotlabs/Module/Wiki.php
+++ b/Zotlabs/Module/Wiki.php
@@ -221,6 +221,7 @@ class Wiki extends \Zotlabs\Web\Controller {
$content = $_POST['content'];
$resource_id = $_POST['resource_id'];
require_once('library/markdown.php');
+ $content = wiki_bbcode($content);
$html = wiki_generate_toc(purify_html(Markdown($content)));
$w = wiki_get_wiki($resource_id);
$wikiURL = argv(0).'/'.argv(1).'/'.$w['urlName'];