@manuscripts/transform 2.1.10-LEAN-3321 → 2.1.10-LEAN-3321-1

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.
@@ -743,6 +743,9 @@ class JATSExporter {
743
743
  return ['fn', attrs, 0];
744
744
  },
745
745
  footnotes_element: (node) => {
746
+ if (!node.textContent) {
747
+ return '';
748
+ }
746
749
  const kind = node.attrs.kind;
747
750
  let tag = 'fn-group';
748
751
  if (kind && kind.includes('table')) {
@@ -735,6 +735,9 @@ export class JATSExporter {
735
735
  return ['fn', attrs, 0];
736
736
  },
737
737
  footnotes_element: (node) => {
738
+ if (!node.textContent) {
739
+ return '';
740
+ }
738
741
  const kind = node.attrs.kind;
739
742
  let tag = 'fn-group';
740
743
  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.1.10-LEAN-3321",
4
+ "version": "2.1.10-LEAN-3321-1",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-transform",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",