mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Merge pull request #13492 from MMeent/patch-1
Add normalization for Hyphen -> Hyphen-minus
This commit is contained in:
commit
ed0990ab6f
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ const MATCH_SCROLL_OFFSET_TOP = -50; // px
|
|||
const MATCH_SCROLL_OFFSET_LEFT = -400; // px
|
||||
|
||||
const CHARACTERS_TO_NORMALIZE = {
|
||||
"\u2010": "-", // Hyphen
|
||||
"\u2018": "'", // Left single quotation mark
|
||||
"\u2019": "'", // Right single quotation mark
|
||||
"\u201A": "'", // Single low-9 quotation mark
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue