@readme/markdown 11.5.1 → 11.5.2
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/dist/main.js +3 -0
- package/dist/main.node.js +3 -0
- package/dist/main.node.js.map +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -67873,6 +67873,9 @@ const visitor = (table, index, parent) => {
|
|
|
67873
67873
|
const content = cell.children.length === 1 && cell.children[0].type === 'paragraph'
|
|
67874
67874
|
? cell.children[0].children[0]
|
|
67875
67875
|
: cell.children[0];
|
|
67876
|
+
// If cell is empty there's nothing to visit
|
|
67877
|
+
if (!content)
|
|
67878
|
+
return EXIT;
|
|
67876
67879
|
// @note: Compatibility with RDMD. Ideally, I'd put this in a separate
|
|
67877
67880
|
// transformer, but then there'd be some duplication.
|
|
67878
67881
|
visit(cell, 'break', (_, breakIndex, breakParent) => {
|
package/dist/main.node.js
CHANGED
|
@@ -88084,6 +88084,9 @@ const visitor = (table, index, parent) => {
|
|
|
88084
88084
|
const content = cell.children.length === 1 && cell.children[0].type === 'paragraph'
|
|
88085
88085
|
? cell.children[0].children[0]
|
|
88086
88086
|
: cell.children[0];
|
|
88087
|
+
// If cell is empty there's nothing to visit
|
|
88088
|
+
if (!content)
|
|
88089
|
+
return EXIT;
|
|
88087
88090
|
// @note: Compatibility with RDMD. Ideally, I'd put this in a separate
|
|
88088
88091
|
// transformer, but then there'd be some duplication.
|
|
88089
88092
|
visit(cell, 'break', (_, breakIndex, breakParent) => {
|