diff --git a/PROMS/Volian.Controls.Library/DisplayText.cs b/PROMS/Volian.Controls.Library/DisplayText.cs index 3070226a..f2e03c61 100644 --- a/PROMS/Volian.Controls.Library/DisplayText.cs +++ b/PROMS/Volian.Controls.Library/DisplayText.cs @@ -1923,7 +1923,7 @@ namespace Volian.Controls.Library with = with.Replace(@"\b0 ",""); } int ndxULine = preceedingText.LastIndexOf(@"\ul"); - if (ndxULine > -1 && preceedingText[ndxULine + 2] != 'n' && with.Contains(@"\ul ")) + if (ndxULine > -1 && preceedingText[ndxULine + 3] != 'n' && with.Contains(@"\ul ")) { with = with.Replace(@"\ul ", ""); with = with.Replace(@"\ulnone ", "");