# HG changeset patch # User ferrall@nwoca.org # Date 1297170753 18000 # Node ID 001e43423d5d1ef3c96f67ee0892f1f204697d62 # Parent 494ca5643e1a431cd6a65174c40e3a71904f6bd3 added replace transformer to remove garbage character (ESC, unicode 001B) from "screen prints", replaced with a space. diff -r 494ca5643e1a -r 001e43423d5d src/org/nwoca/ssdt/tools/html2wiki/Html2Wiki.java --- a/src/org/nwoca/ssdt/tools/html2wiki/Html2Wiki.java Mon Feb 07 11:44:10 2011 -0500 +++ b/src/org/nwoca/ssdt/tools/html2wiki/Html2Wiki.java Tue Feb 08 08:12:33 2011 -0500 @@ -66,6 +66,7 @@ transformers.add(new ReplaceTransformer("
  • ","{li}")); transformers.add(new ReplaceTransformer("\\n\\s*
  • ","{li}\n")); // remove leading space from transformers.add(new ReplaceTransformer("","{li}\n")); // Replace remaining + transformers.add(new ReplaceTransformer("\\u001B"," ")); // Replace ASCII ESC character transformers.add(new ChapterTransformer(category)); transformers.add(new TagTransformer("
    (.*?)
    ", true, "{code}","{code}"));