@adobe/helix-html-pipeline 6.26.1 → 6.26.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [6.26.3](https://github.com/adobe/helix-html-pipeline/compare/v6.26.2...v6.26.3) (2025-07-07)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * set url based on canonical ([#903](https://github.com/adobe/helix-html-pipeline/issues/903)) ([a4960cb](https://github.com/adobe/helix-html-pipeline/commit/a4960cb92fdc1303fff46a417cf0a5c0550ca430))
7
+
8
+ ## [6.26.2](https://github.com/adobe/helix-html-pipeline/compare/v6.26.1...v6.26.2) (2025-07-01)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * add space before title suffix ([#902](https://github.com/adobe/helix-html-pipeline/issues/902)) ([e290580](https://github.com/adobe/helix-html-pipeline/commit/e290580def21aca7d6a63f35758bab7757d89fe8))
14
+
1
15
  ## [6.26.1](https://github.com/adobe/helix-html-pipeline/compare/v6.26.0...v6.26.1) (2025-07-01)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-html-pipeline",
3
- "version": "6.26.1",
3
+ "version": "6.26.3",
4
4
  "description": "Helix HTML Pipeline",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -237,7 +237,7 @@ export default function extractMetaData(state, req) {
237
237
  const titleSuffix = metaConfig['title:suffix'];
238
238
  delete metaConfig['title:suffix'];
239
239
  if (meta.title && titleSuffix && titleSuffix !== '""') {
240
- meta.title += titleSuffix;
240
+ meta.title = `${meta.title} ${titleSuffix}`;
241
241
  }
242
242
 
243
243
  if (!('description' in meta)) {
@@ -254,7 +254,9 @@ export default function extractMetaData(state, req) {
254
254
  meta.url = `${meta.url}.${canonicalExt}`;
255
255
  }
256
256
 
257
- if (!('canonical' in meta)) {
257
+ if ('canonical' in meta) {
258
+ meta.url = meta.canonical;
259
+ } else {
258
260
  meta.canonical = meta.url;
259
261
  }
260
262