trim open and close comments from cdata to keep syntax valid
do not move LINK, STYLE and SCRIPT tags out of content, both to preserve developers intent and elements entered in content editor