From 83ad0120e747cb86321ce81e0d9e695a188b1d54 Mon Sep 17 00:00:00 2001 From: John Date: Tue, 4 Aug 2020 19:24:18 +0000 Subject: [PATCH] =?UTF-8?q?B2020-104=20DotNet=204.8=20is=20now=20replacing?= =?UTF-8?q?=20hard=20hyphens=20with=20=E2=80=9C\=5F=E2=80=9D=20instead=20o?= =?UTF-8?q?f=20the=20Unicode=20character=20=E2=80=9C\u8209=3F=E2=80=9D.=20?= =?UTF-8?q?Added=20logic=20to=20handle=20this=20when=20saving=20the=20text?= =?UTF-8?q?=20in=20a=20step=20editor=20window.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PROMS/VEPROMS.CSLA.Library/Extension/DisplayText.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/DisplayText.cs b/PROMS/VEPROMS.CSLA.Library/Extension/DisplayText.cs index 3d639fbc..05a8913d 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/DisplayText.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/DisplayText.cs @@ -1294,6 +1294,8 @@ namespace VEPROMS.CSLA.Library string token = m.Groups[1].Value; switch (token[1]) { + case '_': + return token.Trim() ; // B2020-104 with .NET 4.8, a hard dash is represented as "\_" in the RTF case '\\': return token; case 'u':