mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 13:17:24 +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);
|
$text = e107::getParser()->stripBlockTags($text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(!empty($parm['raw']))
|
||||||
|
{
|
||||||
|
return $text;
|
||||||
|
}
|
||||||
|
|
||||||
return $text ? e107::getParser()->toHTML($text, true, 'BODY') : '';
|
return $text ? e107::getParser()->toHTML($text, true, 'BODY') : '';
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user