Add missing uses of safeURL

This commit is contained in:
Will Faught
2023-01-24 21:46:58 -08:00
parent 2924701874
commit 7eb2dbbf35
5 changed files with 13 additions and 13 deletions

View File

@@ -18,4 +18,4 @@
{{ $src = $resource.RelPermalink }}
{{ end }}
<script {{ with $crossorigin }} crossorigin="{{ . }}" {{ end }} {{ with $defer }} defer {{ end }} integrity="{{ $integrity }}" {{ with $onload }} onload="{{ . }}" {{ end }} {{ with $referrerpolicy }} referrerpolicy="{{ . }}" {{ end }} src="{{ $src }}"></script>
<script {{ with $crossorigin }} crossorigin="{{ . }}" {{ end }} {{ with $defer }} defer {{ end }} integrity="{{ $integrity }}" {{ with $onload }} onload="{{ . }}" {{ end }} {{ with $referrerpolicy }} referrerpolicy="{{ . }}" {{ end }} src="{{ $src | safeURL }}"></script>