Update to Goldmark

This commit is contained in:
Marc Riera Irigoyen 2020-05-31 18:29:23 +02:00
parent ade1bdd37f
commit 01e79c10cc
5 changed files with 15 additions and 10 deletions

View file

@ -0,0 +1 @@
<img src="{{ .Destination | safeURL }}" alt="{{ .Text }}" height="32" width="32" style="vertical-align:middle">

View file

@ -0,0 +1 @@
<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noopener"{{ end }}>{{ .Text | safeHTML }}</a>