@manuscripts/transform 2.3.22-LEAN-3841.0 → 2.3.22-LEAN-3841.2

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