From 558523df27733cb966c4d8514eb4622a6d2dadd6 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Fri, 2 Jun 2023 13:24:52 +0000 Subject: [PATCH] try after markdown --- plugins/shortcode-custom/CustomPrismjs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/shortcode-custom/CustomPrismjs.php b/plugins/shortcode-custom/CustomPrismjs.php index c43b68a..0dc562c 100644 --- a/plugins/shortcode-custom/CustomPrismjs.php +++ b/plugins/shortcode-custom/CustomPrismjs.php @@ -7,7 +7,7 @@ class CustomPrismjs extends Shortcode { public function init() { - $this->shortcode->getRawHandlers()->add('rootsh', function(ShortcodeInterface $sc) { + $this->shortcode->getHandlers()->add('rootsh', function(ShortcodeInterface $sc) { return '
'.$sc->getContent().'
'; }); }