mirror of https://github.com/jpanther/congo.git
🔀 Merge pull request #312 from nunocoracao/patch-2
External links will open in a new tabpull/339/head
commit
1bab0b736e
|
@ -0,0 +1,3 @@
|
||||||
|
<a href="{{ .Destination | safeURL }}" {{ with .Title}} title="{{ . }}"{{ end }} {{ if or (strings.HasPrefix .Destination "http:") (strings.HasPrefix .Destination "https:") }} target="_blank"{{ end }}>
|
||||||
|
{{- .Text | safeHTML -}}
|
||||||
|
</a>
|
Loading…
Reference in New Issue