This commit is contained in:
Kathy Ruffing 2012-04-30 13:50:14 +00:00
parent 313aee57b4
commit 5a34e3c7f0

View File

@ -490,7 +490,7 @@ namespace fmtxml
{
MyPath = path;
fmtName = nm;
//if (!fmtName.ToUpper().StartsWith("RGESMPE") && fmtName.ToUpper() != "BASE") return;
//if (!fmtName.ToUpper().StartsWith("RGESAM1") && fmtName.ToUpper() != "BASE") return;
try
{
// get the default base & plant files to use when figuring out inheritance.
@ -1275,6 +1275,9 @@ namespace fmtxml
// ATA page??
wkstr = Regex.Replace(wkstr, @"\x1b", @"{NonSupported Hex 1b}");
// replace the \xff33 13 with {Section Number}
wkstr = Regex.Replace(wkstr, @"\xFF33 13", @"{Section Number}");
// replace \xff with \xA0, i.e. hardspace
wkstr = Regex.Replace(wkstr, @"\xFF", @"\xA0");