Only convert Page and Document formats is the related Format file exists.

Skip commented lines in INI file.
Remove inline comments before processing INI file.
Use more explicit comparisons to determine type of command.
Replace spaces with {sp}.
This commit is contained in:
Rich
2011-06-23 21:29:00 +00:00
parent a9d012651a
commit 5a7af006a8
3 changed files with 49 additions and 24 deletions

View File

@@ -296,6 +296,7 @@ namespace fmtxml
str = str.Replace("<", "&lt;");
str = str.Replace(">", "&gt;");
str = str.Replace("\x0B", "&#11;");
str = str.Replace(" ", "{sp}");
return str;
}
private static string[] FontChoice =