@mdream/js
Advanced tools
@@ -243,2 +243,6 @@ import { n as DEFAULT_BLOCK_SPACING, o as NO_SPACING } from "./const.mjs"; | ||
| lastYieldedLength = currentContent.length; | ||
| if (state.buffer.length > 1) { | ||
| state.buffer.length = 0; | ||
| state.buffer.push(currentContent); | ||
| } | ||
| return newContent; | ||
@@ -245,0 +249,0 @@ } |
+1
-1
| { | ||
| "name": "@mdream/js", | ||
| "type": "module", | ||
| "version": "1.0.0-beta.10", | ||
| "version": "1.0.0-beta.11", | ||
| "description": "JavaScript HTML-to-Markdown engine for mdream. Escape hatch for hooks and edge runtimes.", | ||
@@ -6,0 +6,0 @@ "author": { |
+1
-1
@@ -16,3 +16,3 @@ # @mdream/js | ||
| ```bash | ||
| pnpm add @mdream/js | ||
| pnpm add @mdream/js@beta | ||
| ``` | ||
@@ -19,0 +19,0 @@ |
138834
0.08%3510
0.11%