Supporting logic to handle the use of the backslash character
Supporting logic to handle the use of the backslash character, and question marks Supporting logic to handle the use of the backslash character, dashes, and symbols Supporting logic to handle the use of the backslash character and dashes
This commit is contained in:
@@ -186,6 +186,13 @@ namespace VEPROMS.CSLA.Library
|
||||
text =Regex.Replace(text, @"(?<=\\[^\\?' \r\n\t]+)\\u8209\?", " -");
|
||||
text = text.Replace(@"\u8209?", "-");
|
||||
}
|
||||
// Replace backslash symbol with normal backslash so the PDF search for backslashes will work properly
|
||||
if (text.Contains(@"\u9586?") && epMode == E_EditPrintMode.Print)
|
||||
{
|
||||
// Handle RTF Tokens followed immediately by a backslash
|
||||
text =Regex.Replace(text, @"(?<=\\[^\\?' \r\n\t]+)\\u9586\?", @" \\");
|
||||
text = text.Replace(@"\u9586?", @"\\");
|
||||
}
|
||||
_MyStaticItemInfo = _MyItemInfo;
|
||||
text = CreateRtf(colorLinks, text, tableShouldBeOutlined, wordsShouldBeReplaced, numbersShouldBeFormated, tableHasBorder, ROsShouldBeAdjusted, underlineAfterDashSpace, epMode);
|
||||
_MyStaticItemInfo = null;
|
||||
|
Reference in New Issue
Block a user