fix: missing whitespace chomp in link render hook
This commit is contained in:
parent
396efaadaa
commit
b3e699bbf6
@ -11,6 +11,6 @@
|
|||||||
<a
|
<a
|
||||||
{{if not $nonexistent}}href="{{$rooted}}"{{end}}
|
{{if not $nonexistent}}href="{{$rooted}}"{{end}}
|
||||||
rel="noopener" class="internal-link{{if $nonexistent}} broken{{end}}"
|
rel="noopener" class="internal-link{{if $nonexistent}} broken{{end}}"
|
||||||
data-src="{{$rooted}}">{{ .Text | safeHTML }}
|
data-src="{{$rooted}}">{{- .Text | safeHTML -}}
|
||||||
</a>
|
</a>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
Loading…
Reference in New Issue
Block a user