@adobe/helix-html-pipeline 6.17.8 → 6.18.0
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 +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [6.18.0](https://github.com/adobe/helix-html-pipeline/compare/v6.17.8...v6.18.0) (2025-01-24)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* format JSON-LD in response ([2a04d10](https://github.com/adobe/helix-html-pipeline/commit/2a04d1057bf0a59282536482e57661a2e9bf870c))
|
|
7
|
+
|
|
1
8
|
## [6.17.8](https://github.com/adobe/helix-html-pipeline/compare/v6.17.7...v6.17.8) (2025-01-21)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
package/src/steps/render.js
CHANGED
|
@@ -37,7 +37,7 @@ function createElement(name, ...attrs) {
|
|
|
37
37
|
|
|
38
38
|
function sanitizeJsonLd(jsonLd) {
|
|
39
39
|
const sanitizedJsonLd = jsonLd.replaceAll('<', '<').replaceAll('>', '>');
|
|
40
|
-
return JSON.stringify(JSON.parse(sanitizedJsonLd.trim()));
|
|
40
|
+
return JSON.stringify(JSON.parse(sanitizedJsonLd.trim()), null, 2);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
/**
|