diff --git a/layouts/partials/breadcrumb.html b/layouts/partials/breadcrumb.html
index 7b0c5a4d91c..74e495ca4c5 100644
--- a/layouts/partials/breadcrumb.html
+++ b/layouts/partials/breadcrumb.html
@@ -20,15 +20,15 @@
{
"@type": "ListItem",
"position": 1,
- "name": {{ $sectionTitle | jsonify }},
- "item": {{ $sectionURL | absURL | jsonify }}
+ "name": {{ $sectionTitle | jsonify | safeJS }},
+ "item": {{ $sectionURL | absURL | jsonify | safeJS }}
},
{{- end }}
{
"@type": "ListItem",
"position": {{ if $sectionTitle }}2{{ else }}1{{ end }},
- "name": {{ .Title | jsonify }},
- "item": {{ .Permalink | jsonify }}
+ "name": {{ .Title | jsonify | safeJS }},
+ "item": {{ .Permalink | jsonify | safeJS }}
}
]
}