This commit is contained in:
2012-10-26 10:10:35 +00:00
parent 8284c66da2
commit 94d2b11dc3
3 changed files with 12 additions and 3 deletions

View File

@@ -4726,12 +4726,12 @@ namespace fmtxml
//Macros
// <!diamond> - draws a diamond around the stepnumber
// <!diamond1> - A macro
// <!asterisk>
// <!asterisk> for SHE (Shearon Harris) format. Convert to just a tab with asterisk.
// <> - ignored
// \241 - circle macro around step, same as <!circle>
// Also note, the format files had "<>", these get converted during input in this
// format converter code.
wkstr = wkstr.Replace("{!asterisk}", "\\fs10 \\b*\\b0"); // was font size 20 in 16-bit
if (wkstr.Contains("!asterisk")) wkstr = "{asterisk} {numeric}. ";
wkstr = Regex.Replace(wkstr, @"{![.*?]}", @"{!$1}");
wkstr = wkstr.Replace("{}", "");
wkstr = wkstr.Replace("<22>", "{!C0}");