From 574869528fe24cc8d1c3b866816b5d7c4fee843c Mon Sep 17 00:00:00 2001 From: Awilum Date: Wed, 25 May 2022 21:04:52 +0300 Subject: [PATCH] feat(shortcodes): update `raw` shortcode --- src/flextype/core/Parsers/Shortcodes/RawShortcode.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/flextype/core/Parsers/Shortcodes/RawShortcode.php b/src/flextype/core/Parsers/Shortcodes/RawShortcode.php index ee880906..1f284c22 100644 --- a/src/flextype/core/Parsers/Shortcodes/RawShortcode.php +++ b/src/flextype/core/Parsers/Shortcodes/RawShortcode.php @@ -22,7 +22,8 @@ use Thunder\Shortcode\Shortcode\ShortcodeInterface; use function parsers; -// Shortcode: [raw] shortcodes to escape [/raw] +// Shortcode: raw +// Usage: (raw) shortcodes to escape (/raw) parsers()->shortcodes()->addHandler('raw', static function (ShortcodeInterface $s) { if (! registry()->get('flextype.settings.parsers.shortcodes.shortcodes.raw.enabled')) { return '';