test to fix #109

This commit is contained in:
Jason TIAN 2023-01-16 08:53:30 +08:00
parent 15d17fe06d
commit 1b553b4859

View file

@ -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 }}