hof 20.2.8 → 20.2.11
Sign up to get free protection for your applications and to get access to all the features.
@@ -28,7 +28,7 @@
|
|
28
28
|
value="{{value}}"
|
29
29
|
{{#toggle}} data-toggle="{{toggle}}"{{/toggle}}
|
30
30
|
{{#selected}} checked="checked"{{/selected}}
|
31
|
-
{{^error}}{{#optionHint}} aria-describedby="{{key}}-{{value}}-hint"{{/optionHint}}{{^optionHint}}{{#hint}} aria-describedby="{{key}}-hint"{{/hint}}{{/optionHint}}{{/error}}
|
31
|
+
{{^error}}{{#optionHint}} aria-describedby="{{key}}-{{value}}-item-hint"{{/optionHint}}{{^optionHint}}{{#hint}} aria-describedby="{{key}}-item-hint"{{/hint}}{{/optionHint}}{{/error}}
|
32
32
|
{{#error}} aria-describedby="{{key}}-error" aria-invalid="true"{{/error}}
|
33
33
|
>
|
34
34
|
<label class="govuk-label govuk-radios__label" for="{{key}}-{{value}}">
|
package/index.js
CHANGED
@@ -78,8 +78,16 @@ const getContentSecurityPolicy = (config, res) => {
|
|
78
78
|
styleSrc: ['www.googletagmanager.com', 'fonts.googleapis.com', 'tagmanager.google.com'],
|
79
79
|
fontSrc: ['fonts.gstatic.com '],
|
80
80
|
scriptSrc: ['www.google-analytics.com', 'ssl.google-analytics.com'],
|
81
|
-
imgSrc: [
|
82
|
-
|
81
|
+
imgSrc: [
|
82
|
+
'www.google-analytics.com',
|
83
|
+
'ssl.gstatic.com',
|
84
|
+
'www.google.co.uk/ads/ga-audiences'
|
85
|
+
],
|
86
|
+
connectSrc: [
|
87
|
+
'https://www.google-analytics.com',
|
88
|
+
'https://region1.google-analytics.com',
|
89
|
+
'https://region1.analytics.google.com'
|
90
|
+
]
|
83
91
|
};
|
84
92
|
|
85
93
|
if (config.gaTagId) {
|