Update of
/var/cvs/contributions/CMSContainer/cmsc/richtext/src/java/org/mmbase/applications/wordfilter
In directory
james.mmbase.org:/tmp/cvs-serv28033/cmsc/richtext/src/java/org/mmbase/applications/wordfilter
Modified Files:
WordHtmlCleaner.java
Log Message:
CMSC-417 - Added UTF-8 notation.
See also:
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer/cmsc/richtext/src/java/org/mmbase/applications/wordfilter
See also: http://www.mmbase.org/jira/browse/CMSC-417
See also: http://www.mmbase.org/jira/browse/UTF-8
Index: WordHtmlCleaner.java
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer/cmsc/richtext/src/java/org/mmbase/applications/wordfilter/WordHtmlCleaner.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- WordHtmlCleaner.java 24 Dec 2008 13:08:23 -0000 1.16
+++ WordHtmlCleaner.java 5 Feb 2009 11:05:41 -0000 1.17
@@ -293,7 +293,7 @@
* tabs before and behind the dots of the lists.
*/
private static String fixBadLists(String text) {
- text = text.replaceAll("[§·]", "");
+ text = text.replaceAll("[§·]", ""); //UTF-8: À
int pos = -1;
while ((pos = text.indexOf("<!--[if !supportLists", pos + 1)) != -1) {
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs