Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

chore(docs): fix crlf (#4828)

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