Add missing uses of safeURL
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user