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

@@ -3,4 +3,4 @@
{{ $href := .href }}
{{ $style := .style }}
<a {{ with $class }} class="{{ . }}" {{ end }} {{ with $href }} href="{{ . }}" {{ end }} {{ with $style }} style="{{ . | safeCSS }}" {{ end }}>{{ $content }}</a>
<a {{ with $class }} class="{{ . }}" {{ end }} {{ with $href }} href="{{ . | safeURL }}" {{ end }} {{ with $style }} style="{{ . | safeCSS }}" {{ end }}>{{ $content }}</a>