diff --git a/plugins/shortcode-custom/Prismjsshroot.php b/plugins/shortcode-custom/Prismjsshroot.php index 6969207..92da6db 100644 --- a/plugins/shortcode-custom/Prismjsshroot.php +++ b/plugins/shortcode-custom/Prismjsshroot.php @@ -9,7 +9,7 @@ class Prismjsshroot extends Shortcode { $this->shortcode->getRawHandlers()->add('shroot', function(ShortcodeInterface $sc) { $content = preg_replace('/^```.*(\n)?$/m', '', $content); - $content = trim($sc->getContent(), "\n "); + $content = trim($sc->getContent()); return '
'.$content.'
'; }); }