Skip to content

Commit

Permalink
Don’t recognize U+2028 as a newline character
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasbynens committed Aug 11, 2019
1 parent 9bbefc1 commit d9cb3cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rules_core/normalize.js
Expand Up @@ -3,8 +3,8 @@
'use strict';


var NEWLINES_RE = /\r[\n\u0085]?|[\u2424\u2028\u0085]/g;
var NULL_RE = /\u0000/g;
var NEWLINES_RE = /\r[\n\x85]?|[\u2424\x85]/g;
var NULL_RE = /\0/g;


module.exports = function normalize(state) {
Expand Down

0 comments on commit d9cb3cc

Please sign in to comment.