@manuscripts/transform 2.3.3 → 2.3.4-LEAN-3579.0
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.
|
@@ -598,7 +598,7 @@ class JATSExporter {
|
|
|
598
598
|
title: () => '',
|
|
599
599
|
affiliations: () => '',
|
|
600
600
|
contributors: () => '',
|
|
601
|
-
table_element_footer: (
|
|
601
|
+
table_element_footer: () => ['table-wrap-foot', 0],
|
|
602
602
|
contributor: () => '',
|
|
603
603
|
affiliation: () => '',
|
|
604
604
|
attribution: () => ['attrib', 0],
|
|
@@ -720,9 +720,6 @@ class JATSExporter {
|
|
|
720
720
|
return ['fn', attrs, 0];
|
|
721
721
|
},
|
|
722
722
|
footnotes_element: (node) => {
|
|
723
|
-
if (!node.textContent) {
|
|
724
|
-
return '';
|
|
725
|
-
}
|
|
726
723
|
const kind = node.attrs.kind;
|
|
727
724
|
let tag = 'fn-group';
|
|
728
725
|
if (kind && kind.includes('table')) {
|
|
@@ -590,7 +590,7 @@ export class JATSExporter {
|
|
|
590
590
|
title: () => '',
|
|
591
591
|
affiliations: () => '',
|
|
592
592
|
contributors: () => '',
|
|
593
|
-
table_element_footer: (
|
|
593
|
+
table_element_footer: () => ['table-wrap-foot', 0],
|
|
594
594
|
contributor: () => '',
|
|
595
595
|
affiliation: () => '',
|
|
596
596
|
attribution: () => ['attrib', 0],
|
|
@@ -712,9 +712,6 @@ export class JATSExporter {
|
|
|
712
712
|
return ['fn', attrs, 0];
|
|
713
713
|
},
|
|
714
714
|
footnotes_element: (node) => {
|
|
715
|
-
if (!node.textContent) {
|
|
716
|
-
return '';
|
|
717
|
-
}
|
|
718
715
|
const kind = node.attrs.kind;
|
|
719
716
|
let tag = 'fn-group';
|
|
720
717
|
if (kind && kind.includes('table')) {
|
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.3.
|
|
4
|
+
"version": "2.3.4-LEAN-3579.0",
|
|
5
5
|
"repository": "github:Atypon-OpenSource/manuscripts-transform",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"main": "dist/cjs",
|
|
@@ -78,4 +78,4 @@
|
|
|
78
78
|
"rimraf": "^3.0.2",
|
|
79
79
|
"typescript": "^4.0.5"
|
|
80
80
|
}
|
|
81
|
-
}
|
|
81
|
+
}
|