shortcode->getHandlers()->add('rootsh', function(ShortcodeInterface $sc) { $content = rtrim(ltrim($sc->getContent())); return '
'.$content.'