Skip to content

Commit 86fdbae

Browse files
committed
Also replace ampersands
1 parent 2d05afa commit 86fdbae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dotcom-rendering/src/server/htmlPageTemplate.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,9 @@ https://workforus.theguardian.com/careers/product-engineering/
371371
cv: '2.0',
372372
cj: '1',
373373
cs_ucfr: '0',
374-
comscorekw: props.keywords.replace(/ /g, '_'),
374+
comscorekw: props.keywords
375+
.replace(/ /g, '_')
376+
.replace(/&/g, 'and'),
375377
},
376378
).toString()}" />
377379
</noscript>

0 commit comments

Comments
 (0)