Browse Source

Match CommonMark spec exactly

pull/581/head
Mathias Bynens 5 years ago
committed by GitHub
parent
commit
faecae0ba7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      lib/rules_core/normalize.js

3
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;

Loading…
Cancel
Save