diff --git a/layouts/shortcodes/law-charts.html b/layouts/shortcodes/law-charts.html
index d9ab691..55c2209 100644
--- a/layouts/shortcodes/law-charts.html
+++ b/layouts/shortcodes/law-charts.html
@@ -39,7 +39,7 @@
function ifkInitCharts() {
if (typeof Chart === 'undefined') { setTimeout(ifkInitCharts, 100); return; }
var LANG = "{{ $lang }}";
- var countries = {{ $countries | jsonify }};
+ var countries = {{ $countries | jsonify | safeJS }};
var statusLabels = {
en: { enforced: 'Enforced', passed: 'Passed', progress: 'In Progress', guidelines: 'Guidelines' },
diff --git a/layouts/shortcodes/world-map.html b/layouts/shortcodes/world-map.html
index 96183ee..926969e 100644
--- a/layouts/shortcodes/world-map.html
+++ b/layouts/shortcodes/world-map.html
@@ -47,7 +47,7 @@ function ifkInitMap() {
fr: { enforced: 'En vigueur', passed: 'Adopté', progress: 'En cours', guidelines: 'Directives' }
};
- var countries = {{ $countries | jsonify }};
+ var countries = {{ $countries | jsonify | safeJS }};
var byIsoNum = {};
countries.forEach(function(c) { byIsoNum[c.isoNum] = c; });