()
| 2615 | return html; |
| 2616 | }; |
| 2617 | const flushParagraph = () => { |
| 2618 | if (!paragraph.length) return; |
| 2619 | out.push(`<p>${renderInlineMarkdown(paragraph.join(" "))}</p>`); |
| 2620 | paragraph = []; |
| 2621 | }; |
| 2622 | const flushList = () => { |
| 2623 | if (!listItems.length) return; |
| 2624 | out.push(`<${listType}>${listItems.map((item) => `<li>${renderInlineMarkdown(item)}</li>`).join("")}</${listType}>`); |
no test coverage detected