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