remark-stringify
Advanced tools
Comparing version 7.0.3 to 7.0.4
@@ -42,3 +42,3 @@ 'use strict' | ||
((child.type === 'list' && prev.ordered === child.ordered) || | ||
(child.type === 'code' && (!child.lang && !fences))) | ||
(child.type === 'code' && !child.lang && !fences)) | ||
) { | ||
@@ -45,0 +45,0 @@ values.push(gap) |
@@ -10,3 +10,9 @@ 'use strict' | ||
function root(node) { | ||
return this.block(node) + lineFeed | ||
var doc = this.block(node) | ||
if (doc.charAt(doc.length - 1) !== lineFeed) { | ||
doc += lineFeed | ||
} | ||
return doc | ||
} |
{ | ||
"name": "remark-stringify", | ||
"version": "7.0.3", | ||
"version": "7.0.4", | ||
"description": "remark plugin to compile Markdown", | ||
@@ -22,2 +22,6 @@ "license": "MIT", | ||
"bugs": "https://github.com/remarkjs/remark/issues", | ||
"funding": { | ||
"type": "opencollective", | ||
"url": "https://opencollective.com/unified" | ||
}, | ||
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)", | ||
@@ -24,0 +28,0 @@ "contributors": [ |
53839
1507