@manuscripts/transform 4.3.6 → 4.3.8

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.
@@ -155,6 +155,7 @@ class JATSExporter {
155
155
  this.updateFootnoteTypes(front, back);
156
156
  this.fillEmptyTableFooters(article);
157
157
  this.fillEmptyFootnotes(article);
158
+ this.fillEmptyListItem(article);
158
159
  this.moveAwards(front, body);
159
160
  this.moveFloatsGroup(article);
160
161
  await this.rewriteIDs();
@@ -1083,7 +1084,7 @@ class JATSExporter {
1083
1084
  role.setAttribute('vocab', 'CRediT');
1084
1085
  role.setAttribute('vocab-term', cr.vocabTerm);
1085
1086
  role.setAttribute('vocab-term-identifier', creditUrl);
1086
- role.innerHTML = cr.vocabTerm;
1087
+ role.textContent = cr.vocabTerm;
1087
1088
  }
1088
1089
  contrib.appendChild(role);
1089
1090
  });
@@ -1626,5 +1627,8 @@ class JATSExporter {
1626
1627
  fillEmptyTableFooters(articleElement) {
1627
1628
  this.fillEmptyElements(articleElement, 'table-wrap-foot');
1628
1629
  }
1630
+ fillEmptyListItem(articleElement) {
1631
+ this.fillEmptyElements(articleElement, 'list-item');
1632
+ }
1629
1633
  }
1630
1634
  exports.JATSExporter = JATSExporter;
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = "4.3.6";
4
+ exports.VERSION = "4.3.8";
@@ -115,6 +115,7 @@ export class JATSExporter {
115
115
  this.updateFootnoteTypes(front, back);
116
116
  this.fillEmptyTableFooters(article);
117
117
  this.fillEmptyFootnotes(article);
118
+ this.fillEmptyListItem(article);
118
119
  this.moveAwards(front, body);
119
120
  this.moveFloatsGroup(article);
120
121
  await this.rewriteIDs();
@@ -1043,7 +1044,7 @@ export class JATSExporter {
1043
1044
  role.setAttribute('vocab', 'CRediT');
1044
1045
  role.setAttribute('vocab-term', cr.vocabTerm);
1045
1046
  role.setAttribute('vocab-term-identifier', creditUrl);
1046
- role.innerHTML = cr.vocabTerm;
1047
+ role.textContent = cr.vocabTerm;
1047
1048
  }
1048
1049
  contrib.appendChild(role);
1049
1050
  });
@@ -1586,4 +1587,7 @@ export class JATSExporter {
1586
1587
  fillEmptyTableFooters(articleElement) {
1587
1588
  this.fillEmptyElements(articleElement, 'table-wrap-foot');
1588
1589
  }
1590
+ fillEmptyListItem(articleElement) {
1591
+ this.fillEmptyElements(articleElement, 'list-item');
1592
+ }
1589
1593
  }
@@ -1 +1 @@
1
- export const VERSION = "4.3.6";
1
+ export const VERSION = "4.3.8";
@@ -90,4 +90,5 @@ export declare class JATSExporter {
90
90
  private fillEmptyElements;
91
91
  private fillEmptyFootnotes;
92
92
  private fillEmptyTableFooters;
93
+ private fillEmptyListItem;
93
94
  }
@@ -1 +1 @@
1
- export declare const VERSION = "4.3.6";
1
+ export declare const VERSION = "4.3.8";
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": "4.3.6",
4
+ "version": "4.3.8",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-transform",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",