mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-06-27 18:53:03 -04:00
🔀 Merge pull request #456 from jpanther/render-link-fix
🐛 Remove whitespace at EOF in render-link
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
<a href="{{ .Destination | safeURL }}" {{ with .Title}} title="{{ . }}"{{ end }} {{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noreferrer noopener"{{ end }}>
|
||||
{{- .Text | safeHTML -}}
|
||||
</a>
|
||||
<a
|
||||
href="{{ .Destination | safeURL }}"
|
||||
{{ with .Title }}title="{{ . }}"{{ end }}
|
||||
{{ if strings.HasPrefix .Destination "http" }}target="_blank" rel="noreferrer noopener"{{ end }}
|
||||
>
|
||||
{{- .Text | safeHTML -}}
|
||||
</a>
|
||||
Reference in New Issue
Block a user