@adobe/helix-html-pipeline 6.33.12 → 6.33.13
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 +7 -0
- package/package.json +1 -1
- package/src/steps/render.js +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [6.33.13](https://github.com/adobe/helix-html-pipeline/compare/v6.33.12...v6.33.13) (2026-11-26)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* encode after stringify in json-ld sanitisation ([2bfe9a5](https://github.com/adobe/helix-html-pipeline/commit/2bfe9a54254975849330f688d202b81a583eff8d))
|
|
7
|
+
|
|
1
8
|
## [6.33.12](https://github.com/adobe/helix-html-pipeline/compare/v6.33.11...v6.33.12) (2026-11-24)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
package/src/steps/render.js
CHANGED
|
@@ -37,8 +37,9 @@ function createElement(name, ...attrs) {
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
function sanitizeJsonLd(jsonLd) {
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
return JSON.stringify(JSON.parse(jsonLd.trim()), null, 2)
|
|
41
|
+
.replaceAll('<', '<')
|
|
42
|
+
.replaceAll('>', '>');
|
|
42
43
|
}
|
|
43
44
|
|
|
44
45
|
/**
|