B2017006: If a transition is bolded by formatting of transition, don’t turn off bold if bold occurs within text.

This commit is contained in:
Kathy Ruffing 2017-07-10 15:06:26 +00:00
parent 92dfcf47ed
commit fa68b282b8

View File

@ -688,6 +688,7 @@ namespace VEPROMS.CSLA.Library
myLength += m.Groups[3].Length;
}
string newvalue = text.Substring(myIndex, myLength);
if (boldTran) newvalue = newvalue.Replace(@"\b0", "").Replace(@"\B0", "");
//System.Text.RegularExpressions.Group g = m.Groups[3];
string beforeTran = retstr.Substring(0, myIndex);
string afterTran = retstr.Substring(myIndex + myLength);