# HG changeset patch # User ferrall@nwoca.org # Date 1296227817 18000 # Node ID 2fb5084b1564fde86699e9cb1623bc5881b6c237 # Parent ccb40d1cb213e00334d720e76f2ba8451a4f5f51 [no commit message] diff -r ccb40d1cb213 -r 2fb5084b1564 src/org/nwoca/ssdt/tools/html2wiki/Html2Wiki.java --- a/src/org/nwoca/ssdt/tools/html2wiki/Html2Wiki.java Fri Jan 28 09:07:05 2011 -0500 +++ b/src/org/nwoca/ssdt/tools/html2wiki/Html2Wiki.java Fri Jan 28 10:16:57 2011 -0500 @@ -54,7 +54,7 @@ transformers.add(new ReplaceTransformer("
","\\\\")); //replace table tag preserving border setting. - transformers.add(new TagTransformer("", true, "{table:border=","}")); + transformers.add(new TagTransformer("", true, "{table:border=", "|width=75%}")); transformers.add(new ReplaceTransformer("|","{table}")); transformers.add(new ReplaceTransformer("|","{tr}")); @@ -82,7 +82,7 @@ transformers.add(new TagTransformer("
(.*)
", "h6. ", "")); //Replace Notes with Info tags. - transformers.add(new ReplaceTransformer("\\{center}\\n\\{table:border=\\d}\\n\\{tr\\}\\n\\s{2}\\{td\\}\\{center\\}\\*Note\\*\\{center\\}","{info}")); + transformers.add(new ReplaceTransformer("\\{center}\\n\\{table:border=\\d.*}\\n\\{tr\\}\\n\\s{2}\\{td\\}\\{center\\}\\*Note\\*\\{center\\}","{info}")); transformers.add(new ReplaceTransformer("\\{td\\}\\n\\s{2}\\{tr\\}\\n\\{table\\}\\n\\{center\\}","{info}")); //Remove unnecessary table surrounding code blocks.