From 3e3aff26a66b322754cb98f572349288118f07c3 Mon Sep 17 00:00:00 2001 From: Cameron Date: Mon, 21 Mar 2022 12:01:52 -0700 Subject: [PATCH] 'raw' parm option added to cpage_body() --- e107_core/shortcodes/batch/page_shortcodes.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/e107_core/shortcodes/batch/page_shortcodes.php b/e107_core/shortcodes/batch/page_shortcodes.php index 24c833179..350e65ef9 100644 --- a/e107_core/shortcodes/batch/page_shortcodes.php +++ b/e107_core/shortcodes/batch/page_shortcodes.php @@ -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') : ''; }