Browse Source
Remove extra chars from line breaks check (match CM spec)
pull/599/head
Vitaly Puzrin
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
2 deletions
-
lib/rules_core/normalize.js
|
|
@ -3,8 +3,9 @@ |
|
|
|
'use strict'; |
|
|
|
|
|
|
|
|
|
|
|
var NEWLINES_RE = /\r[\n\u0085]?|[\u2424\u2028\u0085]/g; |
|
|
|
var NULL_RE = /\u0000/g; |
|
|
|
// https://spec.commonmark.org/0.29/#line-ending
|
|
|
|
var NEWLINES_RE = /\r\n?|\n/g; |
|
|
|
var NULL_RE = /\0/g; |
|
|
|
|
|
|
|
|
|
|
|
module.exports = function normalize(state) { |
|
|
|