diff --git a/PROMS/Volian.Controls.Library/DisplayText.cs b/PROMS/Volian.Controls.Library/DisplayText.cs index 471c4e19..c44edaa3 100644 --- a/PROMS/Volian.Controls.Library/DisplayText.cs +++ b/PROMS/Volian.Controls.Library/DisplayText.cs @@ -162,11 +162,12 @@ namespace Volian.Controls.Library if (tableShouldBeOutlined) { OutlineRTFTable myTable = new OutlineRTFTable(text, tableHasBorder); - myTable.OutlineTable(); + // if a table has internal line draw characters, we may have to do part of 'OutlineTable' + // to convert dashes and vertical bars to line draw characters. + if (tableHasBorder) myTable.OutlineTable(); 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. text = text.Replace(@"\~", @"\u160?");