Fix Logic to replace a Hard-Hyphen with a Hyphen
This commit is contained in:
parent
59bc89e4f2
commit
42ba094c03
@ -169,8 +169,7 @@ namespace Volian.Controls.Library
|
||||
text = CreateRtf(colorLinks, text, tableShouldBeOutlined, wordsShouldBeReplaced, numbersShouldBeFormated, tableHasBorder, ROsShouldBeAdjusted, underlineAfterDashSpace);
|
||||
// Replace Hard Hyphens with normal hyphen so the PDF search for hyphens will work properly
|
||||
if (text.Contains(@"\u8209?") && epMode == E_EditPrintMode.Print)
|
||||
text = OriginalText.Replace(@"\u8209?", "-");
|
||||
|
||||
text = text.Replace(@"\u8209?", "-");
|
||||
StartText = text;
|
||||
ProfileTimer.Pop(profileDepth);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user