Remove unintended whitespaces from markdown links
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
{{ if .Page.Site.Params.BookPortableLinks }}
|
||||
{{- if .Page.Site.Params.BookPortableLinks -}}
|
||||
{{- template "portable-link" . -}}
|
||||
{{ else }}
|
||||
{{- else -}}
|
||||
<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}>{{ .Text | safeHTML }}</a>
|
||||
{{ end }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "portable-link" -}}
|
||||
{{- $destination := .Destination }}
|
||||
|
||||
Reference in New Issue
Block a user