Merge pull request #13492 from MMeent/patch-1

Add normalization for Hyphen -> Hyphen-minus
This commit is contained in:
Tim van der Meij 2021-06-04 21:00:02 +02:00 committed by GitHub
commit ed0990ab6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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