@mdream/js
Advanced tools
@@ -298,6 +298,6 @@ import { a as NO_SPACING, c as TABLE_ROW_SPACING, g as TagIdMap, i as LIST_ITEM_SPACING, t as BLOCKQUOTE_SPACING } from "./const.mjs"; | ||
| } | ||
| if ((node.depthMap[25] || 0) > 0) { | ||
| if ((node.depthMap[25] || 0) > 0 && !isInsideTableCell(node)) { | ||
| const lastEntry = state.buffer.at(-1); | ||
| const lastChar = lastEntry?.charAt(lastEntry.length - 1) || ""; | ||
| if (lastChar && lastChar !== " " && lastChar !== "\n") return " "; | ||
| if (lastChar && lastChar !== " " && lastChar !== "\n") return `\n\n${state.listIndent}`; | ||
| } | ||
@@ -304,0 +304,0 @@ } }, |
+1
-1
| { | ||
| "name": "@mdream/js", | ||
| "type": "module", | ||
| "version": "1.0.6", | ||
| "version": "1.0.7", | ||
| "description": "JavaScript HTML-to-Markdown engine for mdream. Escape hatch for hooks and edge runtimes.", | ||
@@ -6,0 +6,0 @@ "author": { |
156874
0.03%