From 42ba094c03b35801f1825454bd7aa5cb4d63c5bb Mon Sep 17 00:00:00 2001 From: Rich Date: Sat, 24 Jan 2015 20:37:11 +0000 Subject: [PATCH] Fix Logic to replace a Hard-Hyphen with a Hyphen --- PROMS/Volian.Controls.Library/DisplayText.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/PROMS/Volian.Controls.Library/DisplayText.cs b/PROMS/Volian.Controls.Library/DisplayText.cs index 72de17c3..d4552b79 100644 --- a/PROMS/Volian.Controls.Library/DisplayText.cs +++ b/PROMS/Volian.Controls.Library/DisplayText.cs @@ -169,8 +169,7 @@ namespace Volian.Controls.Library text = CreateRtf(colorLinks, text, tableShouldBeOutlined, wordsShouldBeReplaced, numbersShouldBeFormated, tableHasBorder, ROsShouldBeAdjusted, underlineAfterDashSpace); // Replace Hard Hyphens with normal hyphen so the PDF search for hyphens will work properly if (text.Contains(@"\u8209?") && epMode == E_EditPrintMode.Print) - text = OriginalText.Replace(@"\u8209?", "-"); - + text = text.Replace(@"\u8209?", "-"); StartText = text; ProfileTimer.Pop(profileDepth); }