untangle the app template into separate templates and fix bbcode view

This commit is contained in:
Mario
2021-08-23 10:32:48 +00:00
parent 824894baf0
commit 189da4fdc1
8 changed files with 60 additions and 18 deletions

View File

@@ -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) {