aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-08-23 10:32:48 +0000
committerMario <mario@mariovavti.com>2021-08-23 10:32:48 +0000
commit189da4fdc1408a25b4fd68c0b7d5834232a599a2 (patch)
tree4221698837998da94687e94cb16c15ad86be78ee /include
parent824894baf0f11e85552c283ee948febd8bac5e06 (diff)
downloadvolse-hubzilla-189da4fdc1408a25b4fd68c0b7d5834232a599a2.tar.gz
volse-hubzilla-189da4fdc1408a25b4fd68c0b7d5834232a599a2.tar.bz2
volse-hubzilla-189da4fdc1408a25b4fd68c0b7d5834232a599a2.zip
untangle the app template into separate templates and fix bbcode view
Diffstat (limited to 'include')
-rw-r--r--include/bbcode.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bbcode.php b/include/bbcode.php
index 87a7e6af6..25615e385 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -308,7 +308,7 @@ function bb_parse_app($match) {
$app = Zotlabs\Lib\Apps::app_decode($match[1]);
if ($app)
- return Zotlabs\Lib\Apps::app_render($app);
+ return preg_replace('/[[:cntrl:]]/', '', Zotlabs\Lib\Apps::app_render($app, 'inline'));
}
function bb_svg($match) {