diff --git a/plugins/shortcode-custom/CustomPrismjs.php b/plugins/shortcode-custom/CustomPrismjs.php index ba464a2..e96e4a9 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('sh-root', function(ShortcodeInterface $sc) { + $this->shortcode->getRawHandlers()->add('shroot', function(ShortcodeInterface $sc) { $content = trim($sc->getContent(), "\n "); return '
'.$content.'
'; });