fix: missing whitespace chomp in link render hook
This commit is contained in:
parent
d5884aedb7
commit
2d55b6ac2e
@ -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