From 724fbcf62d233f91b66f25cd294fd3def0eef135 Mon Sep 17 00:00:00 2001 From: John Date: Fri, 6 May 2011 15:39:02 +0000 Subject: [PATCH] --- PROMS/Volian.Controls.Library/DisplayText.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/PROMS/Volian.Controls.Library/DisplayText.cs b/PROMS/Volian.Controls.Library/DisplayText.cs index 342f2155..100e3b8c 100644 --- a/PROMS/Volian.Controls.Library/DisplayText.cs +++ b/PROMS/Volian.Controls.Library/DisplayText.cs @@ -916,7 +916,7 @@ namespace Volian.Controls.Library if (indx < 0) return indx; // see if symbol (but not underline) or another rtf command: has a 'u' // followed by a non-underline or single quote, and if so, return it. - if (((txt[indx + 1] == 'u' && txt[indx + 2] != 'l')) || (txt[indx + 1] == '\'')) return indx; + if (((txt[indx + 1] == 'u' && txt[indx + 2] != 'l' && txt[indx + 2] !='p')) || (txt[indx + 1] == '\'')) return indx; // see if link if (txt[indx + 1] == 'v') return indx; //TODO - should have 0 && (endTextIndx < 0 || endTextIndx > endTextIndx2)) endTextIndx = endTextIndx2;