瀏覽代碼

fix: space before links

Mainly noticeable in CKJ languages.

Fix #1872
George Cushen 4 年之前
父節點
當前提交
f5d9cab6be
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      wowchemy/layouts/_default/_markup/render-link.html

+ 1 - 1
wowchemy/layouts/_default/_markup/render-link.html

@@ -1,2 +1,2 @@
-{{/* A Hugo Markdown render hook to parse links, opening external links in new tabs. */}}
+{{- /* A Hugo Markdown render hook to parse links, opening external links in new tabs. */ -}}
 <a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noopener"{{ end }}>{{ .Text | safeHTML }}</a>