diff --git a/PROMS/Volian.Controls.Library/DisplayText.cs b/PROMS/Volian.Controls.Library/DisplayText.cs index b3c0c77f..07159c37 100644 --- a/PROMS/Volian.Controls.Library/DisplayText.cs +++ b/PROMS/Volian.Controls.Library/DisplayText.cs @@ -184,17 +184,17 @@ namespace Volian.Controls.Library text = myTable.Lines.ToString(); } - // as a precaution, convert any \~ to \u160?. This is for Hard spaces. see the commentary in the - // save portion of this code for an explanation. + // if we're working with a grid it won't go thru here. if (!text.StartsWith(@"{\rtf")) { + // as a precaution, convert any \~ to \u160?. This is for Hard spaces. see the commentary in the + // save portion of this code for an explanation. text = text.Replace(@"\~", @"\u160?"); text = text.Replace("\r\n", @"\par "); //if (text.IndexOf(@"\line") > -1) // MessageBox.Show("Found rtf line"); text = text.Replace(@"\line", @"\par"); - // Now put symbol (for fixed fonts) or unicode font (proportional) around symbols // These fonts are VESymbFix & Arial Unicode MS respectively, and the font table // is actually defined in the StepRTB code.