C2022-003-Change-Textboxes-to-RTF-3
This commit is contained in:
@@ -2154,12 +2154,12 @@ namespace VEPROMS.CSLA.Library
|
||||
if (string.IsNullOrEmpty(s2))
|
||||
return s2;
|
||||
|
||||
var pattern = @"\\u([0-9]{1,4})\?"; // RO Editor add symbols C2025 - 003
|
||||
var pattern = @"\\u([0-9]{1,4})\?"; // RO Editor add symbols C2022 - 003
|
||||
|
||||
if (Regex.IsMatch(s2, pattern))
|
||||
|
||||
s2 = s2.Replace(@"\u160?", "<HSP>"); // convert hard spaces bug fix: B2016-206
|
||||
if (!Regex.IsMatch(s2, pattern)) // RO Editor add symbols C2025 - 003
|
||||
if (!Regex.IsMatch(s2, pattern)) // RO Editor add symbols C2022 - 003
|
||||
{
|
||||
s2 = s2.Replace(@"\", @"\u9586?"); // convert backslashes to a backslash symbol
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user