B2022-082: Search for THEN STOP not finding occurrences in RNOs

This commit is contained in:
Kathy committed 2022-07-29 13:32:16 +00:00
1 parent 8b21a92729
commit 78bd41dc56
3 files changed
+35 -18

No files matched your search

@@ -2965,6 +2965,9 @@ namespace VEPROMS.CSLA.Library
public static string StripRtfFormatting(string rtf)
{
string retval = rtf;
// B2022-082: underline/bold of word removes space between 2 words in DisplayText
retval = Regex.Replace(retval, @"\\ulnone\\b0 ?", "");
retval = Regex.Replace(retval, @"\\b0\\ulnone ?", "");
retval = Regex.Replace(retval, @"\\b0 ?", "");
retval = Regex.Replace(retval, @"\\b ?", "");
retval = Regex.Replace(retval, @"\\ulnone ?", "");