@mdream/js 0.17.0 → 1.0.0-beta.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/_chunks/resolve-plugins.mjs +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -240,6 +240,10 @@ function createMarkdownProcessor(options = {}, resolvedPlugins = [], tagOverride
|
|
|
240
240
|
const currentContent = state.buffer.join("").trimStart();
|
|
241
241
|
const newContent = currentContent.slice(lastYieldedLength);
|
|
242
242
|
lastYieldedLength = currentContent.length;
|
|
243
|
+
if (state.buffer.length > 1) {
|
|
244
|
+
state.buffer.length = 0;
|
|
245
|
+
state.buffer.push(currentContent);
|
|
246
|
+
}
|
|
243
247
|
return newContent;
|
|
244
248
|
}
|
|
245
249
|
return {
|
package/package.json
CHANGED