Be less aggressive in removing newlines.

This commit is contained in:
wermos committed 2024-06-03 22:45:22 +05:30
1 parent bb435aded7
commit 581aba3359
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -2,6 +2,6 @@
{{- with .Title -}}
title="{{ . }}"
{{- end }}
{{- if or (strings.HasPrefix .Destination "http:") (strings.HasPrefix .Destination "https:") }} target="_blank"{{ end -}}>
{{- if or (strings.HasPrefix .Destination "http:") (strings.HasPrefix .Destination "https:") }} target="_blank"{{ end }}>
{{- .Text | safeHTML -}}
</a>