From dc25173ae3ea6b75a7eecf54fe87c59c6302a3ab Mon Sep 17 00:00:00 2001 From: Pavel Feldman Date: Sat, 26 Dec 2020 17:05:44 -0800 Subject: [PATCH] chore(docs): fix crlf (#4828) --- utils/parse_md.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/parse_md.js b/utils/parse_md.js index 89d1938893..6e221e67f9 100644 --- a/utils/parse_md.js +++ b/utils/parse_md.js @@ -15,7 +15,7 @@ */ function normalizeLines(content) { - const inLines = content.split('\n'); + const inLines = content.replace(/\r\n/g, '\n').split('\n'); let inCodeBlock = false; const outLines = []; let outLineTokens = [];