focalboard/website/site/layouts/_default/_markup/render-link.html

1 line
205 B
HTML
Raw Normal View History

2021-02-01 21:05:14 +01:00
<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noopener noreferrer"{{ end }}>{{ htmlUnescape .Text }}</a>