Skip to content

Commit 057d34e

Browse files
committed
Replace ampersands in identifier comment
1 parent 86fdbae commit 057d34e

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
@@ -363,7 +363,9 @@ https://workforus.theguardian.com/careers/product-engineering/
363363
renderingTarget === 'Web'
364364
? `
365365
<noscript>
366-
<!-- Comscore Identifier: comscorekw=${props.keywords.replace(/ /g, '_')} -->
366+
<!-- Comscore Identifier: comscorekw=${props.keywords
367+
.replace(/ /g, '_')
368+
.replace(/&/g, 'and')} -->
367369
<img src="https://sb.scorecardresearch.com/p?${new URLSearchParams(
368370
{
369371
c1: '2',

0 commit comments

Comments
 (0)