@manuscripts/transform 2.3.22-LEAN-3821.1 → 2.3.22-LEAN-3841-v0

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.
@@ -1580,9 +1580,11 @@ class JATSExporter {
1580
1580
  });
1581
1581
  }
1582
1582
  createEquation(node, isInline = false) {
1583
+ const CDATAStartSection = '<![CDATA[';
1584
+ const CDATAEndSection = ']]>';
1583
1585
  if (node.attrs.format === 'tex') {
1584
1586
  const texMath = this.document.createElement('tex-math');
1585
- texMath.innerHTML = node.attrs.contents;
1587
+ texMath.innerHTML = `${CDATAStartSection} ${node.attrs.contents} ${CDATAEndSection}`;
1586
1588
  return texMath;
1587
1589
  }
1588
1590
  else {
@@ -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 = "2.3.22-LEAN-3821.1";
4
+ exports.VERSION = "2.3.22-LEAN-3841-v0";
@@ -1572,9 +1572,11 @@ export class JATSExporter {
1572
1572
  });
1573
1573
  }
1574
1574
  createEquation(node, isInline = false) {
1575
+ const CDATAStartSection = '<![CDATA[';
1576
+ const CDATAEndSection = ']]>';
1575
1577
  if (node.attrs.format === 'tex') {
1576
1578
  const texMath = this.document.createElement('tex-math');
1577
- texMath.innerHTML = node.attrs.contents;
1579
+ texMath.innerHTML = `${CDATAStartSection} ${node.attrs.contents} ${CDATAEndSection}`;
1578
1580
  return texMath;
1579
1581
  }
1580
1582
  else {
@@ -1 +1 @@
1
- export const VERSION = "2.3.22-LEAN-3821.1";
1
+ export const VERSION = "2.3.22-LEAN-3841-v0";
@@ -1 +1 @@
1
- export declare const VERSION = "2.3.22-LEAN-3821.1";
1
+ export declare const VERSION = "2.3.22-LEAN-3841-v0";
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.22-LEAN-3821.1",
4
+ "version": "2.3.22-LEAN-3841-v0",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-transform",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",