mirror of https://github.com/jpanther/congo.git
🔀 Merge pull request #456 from jpanther/render-link-fix
🐛 Remove whitespace at EOF in render-link
pull/459/head
commit
63c303b915
|
@ -1,3 +1,7 @@
|
|||
<a href="{{ .Destination | safeURL }}" {{ with .Title}} title="{{ . }}"{{ end }} {{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noreferrer noopener"{{ end }}>
|
||||
<a
|
||||
href="{{ .Destination | safeURL }}"
|
||||
{{ with .Title }}title="{{ . }}"{{ end }}
|
||||
{{ if strings.HasPrefix .Destination "http" }}target="_blank" rel="noreferrer noopener"{{ end }}
|
||||
>
|
||||
{{- .Text | safeHTML -}}
|
||||
</a>
|
Loading…
Reference in New Issue