[opencms-dev] CmsHtmlStripper and HTML comments

Roman Uhlig Maxity.de roman.uhlig at maxity.de
Thu Mar 4 19:35:20 CET 2010


Nevermind, I filtered it out manually:

String plainText = Pattern.compile("<!--(.*?)-->",
Pattern.DOTALL).matcher(new
CmsHtmlStripper().stripHtml(htmlText)).replaceAll("");

Roman 



More information about the opencms-dev mailing list