Be less aggressive in removing newlines.

This commit is contained in:
wermos
2024-06-03 22:45:22 +05:30
parent bb435aded7
commit 581aba3359
2 changed files with 3 additions and 3 deletions
+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>