From 6692b677db76b9c7fa3f20b4c70a0a4285babb81 Mon Sep 17 00:00:00 2001 From: mlgd Date: Fri, 18 Aug 2017 17:08:18 +0200 Subject: [PATCH] Update coma position in plain text template (#15) --- default.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default.go b/default.go index 527069e..2ec8d4f 100644 --- a/default.go +++ b/default.go @@ -438,7 +438,7 @@ func (dt *Default) HTMLTemplate() string { // PlainTextTemplate returns a Golang template that will generate an plain text email. func (dt *Default) PlainTextTemplate() string { - return `

{{if .Email.Body.Title }}{{ .Email.Body.Title }}{{ else }}{{ .Email.Body.Greeting }} {{ .Email.Body.Name }}{{ end }},

+ return `

{{if .Email.Body.Title }}{{ .Email.Body.Title }}{{ else }}{{ .Email.Body.Greeting }} {{ .Email.Body.Name }},{{ end }}

{{ with .Email.Body.Intros }} {{ range $line := . }}

{{ $line }}