From d6657a9ae6e1015947d5cc96473025ea4f8642b1 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Fri, 2 Jun 2023 13:37:03 +0000 Subject: [PATCH] change back to sh-root --- 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 e985ca5..ba464a2 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->getRawHandlers()->add('sh-root', function(ShortcodeInterface $sc) { $content = trim($sc->getContent(), "\n "); return '
'.$content.'
'; });