B2020-104 DotNet 4.8 is now replacing hard hyphens with “\_” instead of the Unicode character “\u8209?”. Added logic to handle this when saving the text in a step editor window.

This commit is contained in:
John Jenko 2020-08-04 19:24:18 +00:00
parent ad61082828
commit 83ad0120e7

View File

@ -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':