@manuscripts/transform 2.1.8-LEAN-3423-2 → 2.1.8-LEAN-3423-3

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.
@@ -639,7 +639,14 @@ class JATSExporter {
639
639
  0,
640
640
  ],
641
641
  blockquote_element: () => ['disp-quote', { 'content-type': 'quote' }, 0],
642
- bullet_list: () => ['list', { 'list-type': 'bullet' }, 0],
642
+ bullet_list: (node) => {
643
+ var _a;
644
+ return [
645
+ 'list',
646
+ { 'list-type': (_a = node.attrs.listStyleType) !== null && _a !== void 0 ? _a : 'bullet' },
647
+ 0,
648
+ ];
649
+ },
643
650
  caption: () => ['p', 0],
644
651
  caption_title: (node) => {
645
652
  if (!node.textContent) {
@@ -631,7 +631,14 @@ export class JATSExporter {
631
631
  0,
632
632
  ],
633
633
  blockquote_element: () => ['disp-quote', { 'content-type': 'quote' }, 0],
634
- bullet_list: () => ['list', { 'list-type': 'bullet' }, 0],
634
+ bullet_list: (node) => {
635
+ var _a;
636
+ return [
637
+ 'list',
638
+ { 'list-type': (_a = node.attrs.listStyleType) !== null && _a !== void 0 ? _a : 'bullet' },
639
+ 0,
640
+ ];
641
+ },
635
642
  caption: () => ['p', 0],
636
643
  caption_title: (node) => {
637
644
  if (!node.textContent) {
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.8-LEAN-3423-2",
4
+ "version": "2.1.8-LEAN-3423-3",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-transform",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",