@adobe/helix-md2jcr 1.1.15 → 1.1.17
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.
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.1.17](https://github.com/adobe/helix-md2jcr/compare/v1.1.16...v1.1.17) (2025-05-07)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **deps:** update dependency @adobe/remark-gridtables to v3.0.13 ([#91](https://github.com/adobe/helix-md2jcr/issues/91)) ([8adb1ab](https://github.com/adobe/helix-md2jcr/commit/8adb1aba0945203c7a0161aecb68ae7377b4f697))
|
|
7
|
+
|
|
8
|
+
## [1.1.16](https://github.com/adobe/helix-md2jcr/compare/v1.1.15...v1.1.16) (2025-05-05)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* allow raw html to be inserted in richtext ([#88](https://github.com/adobe/helix-md2jcr/issues/88)) ([35980a3](https://github.com/adobe/helix-md2jcr/commit/35980a3d5f5ddffd097224e1f1efcc50823cd118))
|
|
14
|
+
|
|
1
15
|
## [1.1.15](https://github.com/adobe/helix-md2jcr/compare/v1.1.14...v1.1.15) (2025-04-28)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/helix-md2jcr",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.17",
|
|
4
4
|
"description": "Helix Service that converts markdown to JCR content structure",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@adobe/fetch": "4.2.0",
|
|
32
32
|
"@adobe/helix-markdown-support": "7.1.12",
|
|
33
33
|
"@adobe/helix-shared-process-queue": "3.1.3",
|
|
34
|
-
"@adobe/remark-gridtables": "3.0.
|
|
34
|
+
"@adobe/remark-gridtables": "3.0.13",
|
|
35
35
|
"entities": "^5.0.0",
|
|
36
36
|
"github-slugger": "2.0.0",
|
|
37
37
|
"handlebars": "^4.7.8",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@adobe/eslint-config-helix": "2.0.9",
|
|
58
|
-
"@adobe/helix-mediahandler": "2.7.
|
|
58
|
+
"@adobe/helix-mediahandler": "2.7.4",
|
|
59
59
|
"@commitlint/cli": "^19.6.1",
|
|
60
60
|
"@commitlint/config-conventional": "^19.6.0",
|
|
61
61
|
"@semantic-release/changelog": "6.0.3",
|
|
@@ -137,7 +137,13 @@ function extractPropertiesForNode(field, currentNode, properties) {
|
|
|
137
137
|
if (currentNode.type === 'wrapper') {
|
|
138
138
|
// combine all the children into a single string, but wrap them in a paragraph
|
|
139
139
|
value = currentNode.children.reduce((acc, node) => {
|
|
140
|
-
|
|
140
|
+
const hast = toHast(node, {
|
|
141
|
+
allowDangerousHtml: true,
|
|
142
|
+
});
|
|
143
|
+
|
|
144
|
+
let str = toHtml(hast, {
|
|
145
|
+
allowDangerousHtml: true,
|
|
146
|
+
});
|
|
141
147
|
|
|
142
148
|
// don't wrap nodes that are already paragraphs or code blocks
|
|
143
149
|
if (node.type !== 'paragraph' && node.type !== 'code') {
|