diff --git a/lib/rules_core/normalize.js b/lib/rules_core/normalize.js index 68fb392..ad196cd 100644 --- a/lib/rules_core/normalize.js +++ b/lib/rules_core/normalize.js @@ -3,7 +3,8 @@ 'use strict'; -var NEWLINES_RE = /\r[\n\x85]?|[\u2424\x85]/g; +// https://spec.commonmark.org/0.29/#line-ending +var NEWLINES_RE = /\r\n?|\n/g; var NULL_RE = /\0/g;