diff --git a/plugins/shortcode-custom/CustomPrismjs.php b/plugins/shortcode-custom/CustomPrismjs.php index 0dc562c..1295dea 100644 --- a/plugins/shortcode-custom/CustomPrismjs.php +++ b/plugins/shortcode-custom/CustomPrismjs.php @@ -8,7 +8,8 @@ class CustomPrismjs extends Shortcode public function init() { $this->shortcode->getHandlers()->add('rootsh', function(ShortcodeInterface $sc) { - return '
'.$sc->getContent().'
';
+ $content = rtrim(ltrim($sc->getContent()))
+ return ''.$content.'
';
});
}
}
diff --git a/plugins/shortcode-custom/CustomShortcodes.php b/plugins/shortcode-custom/CustomShortcodes.php
deleted file mode 100644
index 46fc2a4..0000000
--- a/plugins/shortcode-custom/CustomShortcodes.php
+++ /dev/null
@@ -1,3 +0,0 @@
-
\ No newline at end of file