B2017-167 Remove spurious space in RO Value between two RTF Commands

This commit is contained in:
Rich 2017-08-07 20:04:22 +00:00
parent 3681dfa9a6
commit e702d5d8fc

View File

@ -933,6 +933,7 @@ namespace VEPROMS.CSLA.Library
fileNameOnly = value.Substring(0,value.IndexOf("\n")).Replace(@"\u8209?","-"); // check only the file name of the RO figure
string newvalue = value;
newvalue = newvalue.Replace("{", @"\{").Replace("}", @"\}");
newvalue = newvalue.Replace(@"\up2 \u8209?", @"\up2\u8209?");// B2017-167 Remove spurious space in RO Value between two RTF Commands
string findLink = @"<START\].*?\[END>";
MatchCollection ms = Regex.Matches(Text, findLink);
//string lookFor = string.Format(@"<START\](\\[^v \\]+)*\\v0(\\[^v \\]+)* (.*?)(\\[^v '?\\]+)*\\v(\\[^v \\]+)* #Link:ReferencedObject:{0} .*?\[END>", rousg.ROUsageID);