@manuscripts/transform 2.1.8 → 2.1.9
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.
|
@@ -620,7 +620,7 @@ class JATSExporter {
|
|
|
620
620
|
title: () => '',
|
|
621
621
|
affiliations: () => '',
|
|
622
622
|
contributors: () => '',
|
|
623
|
-
table_element_footer: () => ['table-wrap-foot', 0],
|
|
623
|
+
table_element_footer: (node) => node.textContent ? ['table-wrap-foot', 0] : '',
|
|
624
624
|
contributor: () => '',
|
|
625
625
|
affiliation: () => '',
|
|
626
626
|
attribution: () => ['attrib', 0],
|
|
@@ -612,7 +612,7 @@ export class JATSExporter {
|
|
|
612
612
|
title: () => '',
|
|
613
613
|
affiliations: () => '',
|
|
614
614
|
contributors: () => '',
|
|
615
|
-
table_element_footer: () => ['table-wrap-foot', 0],
|
|
615
|
+
table_element_footer: (node) => node.textContent ? ['table-wrap-foot', 0] : '',
|
|
616
616
|
contributor: () => '',
|
|
617
617
|
affiliation: () => '',
|
|
618
618
|
attribution: () => ['attrib', 0],
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@manuscripts/transform",
|
|
3
3
|
"description": "ProseMirror transformer for Manuscripts applications",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.9",
|
|
5
5
|
"repository": "github:Atypon-OpenSource/manuscripts-transform",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"main": "dist/cjs",
|