diff --git a/.changelog/note.tmpl b/.changelog/note.tmpl index c9adcaa060..34d050be56 100644 --- a/.changelog/note.tmpl +++ b/.changelog/note.tmpl @@ -1,3 +1,3 @@ {{- define "note" -}} -{{.Body}}{{if not stringHasPrefix .Issue "_"}} [[GH-{{- .Issue -}}](https://github.com/hashicorp/consul/issues/{{- .Issue -}})]{{end}} +{{.Body}}{{if not (stringHasPrefix .Issue "_")}} [[GH-{{- .Issue -}}](https://github.com/hashicorp/consul/issues/{{- .Issue -}})]{{end}} {{- end -}}