mirror of
https://github.com/msfjarvis/msfjarvis.dev.git
synced 2024-06-03 04:18:56 +05:30
Fix URL escaping
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
02685759dd
commit
4188812c31
|
@ -1 +1 @@
|
|||
<a class="link" href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noreferrer"{{ end }}>{{ .Text }}</a>
|
||||
<a class="link" href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noreferrer"{{ end }}>{{ .Text | safeHTML }}</a>
|
||||
|
|
Loading…
Reference in New Issue
Block a user