Index: t3lib/class.t3lib_tsparser_ext.php =================================================================== --- t3lib/class.t3lib_tsparser_ext.php (revision 4135) +++ t3lib/class.t3lib_tsparser_ext.php (working copy) @@ -440,6 +440,7 @@ $comment = preg_replace('/[\r\n]/', ' ', $comment); // Remove linebreaks, replace with ' ' $comment = preg_replace('/[#\*]{2,}/', '', $comment); // Remove # and * if more than twice in a row $comment = preg_replace('/^[#\*\s]+/', '# ', $comment); // Replace leading # (just if it exists) and add it again. Result: Every comment should be prefixed by a '#'. + $comment = $this->makeHtmlspecialchars($comment); // Masking HTML Tags: Replace < with < and > with > $HTML.= ' '.trim($comment).''; } }