shortcode->getRawHandlers()->add('sh-root', function(ShortcodeInterface $sc) { $content = trim($sc->getContent(), "\n "); return '
'.$content.'
'; }); } } ?>