@manuscripts/transform 2.3.24-LEAN-3841.0 → 2.3.24

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.
@@ -1582,14 +1582,7 @@ class JATSExporter {
1582
1582
  createEquation(node, isInline = false) {
1583
1583
  if (node.attrs.format === 'tex') {
1584
1584
  const texMath = this.document.createElement('tex-math');
1585
- texMath.setAttribute('notation', 'LaTeX');
1586
- texMath.setAttribute('version', 'MathJax');
1587
- if (node.attrs.contents.includes('<![CDATA[')) {
1588
- texMath.innerHTML = node.attrs.contents;
1589
- }
1590
- else {
1591
- texMath.innerHTML = `<![CDATA[ ${node.attrs.contents} ]]>`;
1592
- }
1585
+ texMath.innerHTML = node.attrs.contents;
1593
1586
  return texMath;
1594
1587
  }
1595
1588
  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.24-LEAN-3841.0";
4
+ exports.VERSION = "2.3.24";
@@ -1574,14 +1574,7 @@ export class JATSExporter {
1574
1574
  createEquation(node, isInline = false) {
1575
1575
  if (node.attrs.format === 'tex') {
1576
1576
  const texMath = this.document.createElement('tex-math');
1577
- texMath.setAttribute('notation', 'LaTeX');
1578
- texMath.setAttribute('version', 'MathJax');
1579
- if (node.attrs.contents.includes('<![CDATA[')) {
1580
- texMath.innerHTML = node.attrs.contents;
1581
- }
1582
- else {
1583
- texMath.innerHTML = `<![CDATA[ ${node.attrs.contents} ]]>`;
1584
- }
1577
+ texMath.innerHTML = node.attrs.contents;
1585
1578
  return texMath;
1586
1579
  }
1587
1580
  else {
@@ -1 +1 @@
1
- export const VERSION = "2.3.24-LEAN-3841.0";
1
+ export const VERSION = "2.3.24";
@@ -1 +1 @@
1
- export declare const VERSION = "2.3.24-LEAN-3841.0";
1
+ export declare const VERSION = "2.3.24";
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.24-LEAN-3841.0",
4
+ "version": "2.3.24",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-transform",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",
@@ -31,7 +31,7 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "@manuscripts/json-schema": "2.2.10",
34
- "@manuscripts/library": "1.3.10",
34
+ "@manuscripts/library": "1.3.11",
35
35
  "debug": "^4.3.4",
36
36
  "jszip": "^3.10.1",
37
37
  "lodash": "^4.17.21",