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:
parent
92dfcf47ed
commit
fa68b282b8
@ -688,6 +688,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
myLength += m.Groups[3].Length;
|
myLength += m.Groups[3].Length;
|
||||||
}
|
}
|
||||||
string newvalue = text.Substring(myIndex, myLength);
|
string newvalue = text.Substring(myIndex, myLength);
|
||||||
|
if (boldTran) newvalue = newvalue.Replace(@"\b0", "").Replace(@"\B0", "");
|
||||||
//System.Text.RegularExpressions.Group g = m.Groups[3];
|
//System.Text.RegularExpressions.Group g = m.Groups[3];
|
||||||
string beforeTran = retstr.Substring(0, myIndex);
|
string beforeTran = retstr.Substring(0, myIndex);
|
||||||
string afterTran = retstr.Substring(myIndex + myLength);
|
string afterTran = retstr.Substring(myIndex + myLength);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user