mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-11-24 08:47:01 +08:00
Removed mistaken bracket in text replace operation
This commit is contained in:
@@ -82,7 +82,7 @@
|
||||
// as single-byte or multiple-byte character codes.
|
||||
|
||||
// Note: order of replacing is important. Replace slash first before brackets.
|
||||
text = text.Replace(@"\", @"\\)"); // Escape any slash '\' -> '\\'
|
||||
text = text.Replace(@"\", @"\\"); // Escape any slash '\' -> '\\'
|
||||
text = text.Replace("(", @"\("); // Escape any open brackets '(' -> '\('
|
||||
text = text.Replace(")", @"\)"); // Escape any close brackets ')' -> '\)'
|
||||
|
||||
@@ -114,4 +114,4 @@
|
||||
return $"{Text} {Symbol}";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user