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