test to fix #109
This commit is contained in:
parent
15d17fe06d
commit
1b553b4859
|
@ -17,7 +17,7 @@ reference:
|
|||
{{ $keyword := index $r 0 }}
|
||||
{{ $link := index $r 1 }}
|
||||
|
||||
{{ $newWithLink := print "<a href='" $link "'>" $keyword "</a>" }}
|
||||
{{- $newWithLink := print "<a href='" $link "'>" $keyword "</a>" -}}
|
||||
|
||||
{{- if (strings.Contains $Content $keyword) -}}
|
||||
{{ $Content = replace $Content $keyword $newWithLink }}
|
||||
|
|
Loading…
Reference in a new issue