Hi, I developed a function that allows cropHtml taking care of open tags. I postet it here: http://bugs.typo3.org/view.php?id=4747 and you may have a look online at http://www.sk-typo3.de/xmltree.php This could be an extension of stdWrap-function (new function cropHtml) - please let me know what you think about it. vg Steffen