chore(docs): fix crlf (#4828)

This commit is contained in:
Pavel Feldman 2020-12-26 17:05:44 -08:00 committed by GitHub
parent 2cb5770183
commit dc25173ae3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 = [];