mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 11:36:23 +00:00
fix: missing whitespace chomp in link render hook
This commit is contained in:
parent
d5884aedb7
commit
2d55b6ac2e
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue