mirror of https://github.com/jpanther/congo.git
🐛 Fix blank blank character prefix on links
Caused by the "prettier-ignore" comment. Workaround is to remove the blank character using a comment template.pull/823/head
parent
94feae3cca
commit
0407268775
|
@ -15,4 +15,5 @@
|
|||
{{ end -}}
|
||||
{{ end -}}
|
||||
<!-- prettier-ignore -->
|
||||
<a href="{{ $link | safeURL }}"{{ with .Title }} title="{{ . }}"{{ end }}{{ if $isRemote }} target="_blank" rel="noreferrer"{{ end }}>{{- .Text | safeHTML -}}</a>
|
||||
{{- /* the two "-" around this block removes the newline introduced by the HTML comment above */ -}}
|
||||
<a href="{{ $link | safeURL }}"{{ with .Title }} title="{{ . }}"{{ end }}{{ if $isRemote }} target="_blank" rel="noreferrer"{{ end }}>{{- .Text | safeHTML -}}</a>
|
||||
|
|
Loading…
Reference in New Issue