diff --git a/.changelog/note.tmpl b/.changelog/note.tmpl index c9adcaa06..34d050be5 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 -}}