feat: more charCodes

This commit is contained in:
Sven SAULEAU 2017-11-11 18:08:43 +01:00
parent b79e3c0e99
commit 097ff40001
No known key found for this signature in database
GPG Key ID: F5464AC83B687AD1

View File

@ -369,7 +369,8 @@ export default class Tokenizer extends LocationParser {
default:
if (
(ch > charCodes.backSpace && ch < charCodes.shiftOut) ||
(ch >= 5760 && nonASCIIwhitespace.test(String.fromCharCode(ch)))
(ch >= charCodes.oghamSpaceMark &&
nonASCIIwhitespace.test(String.fromCharCode(ch)))
) {
++this.state.pos;
} else {