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:
parent
ad61082828
commit
83ad0120e7
@ -1294,6 +1294,8 @@ namespace VEPROMS.CSLA.Library
|
|||||||
string token = m.Groups[1].Value;
|
string token = m.Groups[1].Value;
|
||||||
switch (token[1])
|
switch (token[1])
|
||||||
{
|
{
|
||||||
|
case '_':
|
||||||
|
return token.Trim() ; // B2020-104 with .NET 4.8, a hard dash is represented as "\_" in the RTF
|
||||||
case '\\':
|
case '\\':
|
||||||
return token;
|
return token;
|
||||||
case 'u':
|
case 'u':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user