1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

'raw' parm option added to cpage_body()

This commit is contained in:
Cameron
2022-03-21 12:01:52 -07:00
parent e7839c203c
commit 3e3aff26a6

View File

@@ -114,6 +114,10 @@ class cpage_shortcodes extends e_shortcode
$text = e107::getParser()->stripBlockTags($text);
}
if(!empty($parm['raw']))
{
return $text;
}
return $text ? e107::getParser()->toHTML($text, true, 'BODY') : '';
}