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:
@@ -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') : '';
|
||||
}
|
||||
|
Reference in New Issue
Block a user