changeset 17:a88e2f8fb117 tip

added a replace transformer to remove ;) smilies
author ferrall@nwoca.org
date Tue, 08 Feb 2011 09:27:40 -0500
parents 001e43423d5d
children
files src/org/nwoca/ssdt/tools/html2wiki/Html2Wiki.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/org/nwoca/ssdt/tools/html2wiki/Html2Wiki.java	Tue Feb 08 08:12:33 2011 -0500
+++ b/src/org/nwoca/ssdt/tools/html2wiki/Html2Wiki.java	Tue Feb 08 09:27:40 2011 -0500
@@ -109,6 +109,7 @@
         transformers.add(new ReplaceTransformer(""","\""));
         transformers.add(new ReplaceTransformer("&","&"));
         transformers.add(new ReplaceTransformer(":\\)",": )"));  // No smilies...
+        transformers.add(new ReplaceTransformer(";\\)","; )"));  // No smilies...
         transformers.add(new ReplaceTransformer("(\\w)(--)(\\w)"," -- ",2));  // avoid strikeout
         transformers.add(new ReplaceTransformer("\\{table(.*?)\\}\\n\\s{2}\\{tr\\}\\n\\s{4}\\{td\\}Contents\\{td\\}\\n\\s{2}\\{tr\\}\\n\\{table\\}",""));  // remove "contents" table