use the double quotation marks
This commit is contained in:
parent
e5e75b9481
commit
accfa1b5f4
|
@ -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