Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
fix(md): ensure list offset when rendering (#19241)
Pavel Feldman291ad6e6180d
diff --git a/utils/markdown.js b/utils/markdown.jsindex 9b8ea80426..2a217a7aad 100644--- a/utils/markdown.js+++ b/utils/markdown.js@@ -283,8 +283,8 @@ function render(nodes, options) {*/function innerRenderMdNode(indent, node, lastNode, result, options) {const newLine = () => {- if (result.length && result[result.length - 1] !== '')- result.push('');+ if (result.length && (result[result.length - 1] || '').trim() !== '')+ result.push(indent);};if (node.type.startsWith('h')) {