Skip to content
Permalink
Browse files

Update coma position in plain text template (matcornic#15)

  • Loading branch information...
mlgd authored and matcornic committed Aug 18, 2017
1 parent 260cc4a commit 6692b677db76b9c7fa3f20b4c70a0a4285babb81
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 `<h2>{{if .Email.Body.Title }}{{ .Email.Body.Title }}{{ else }}{{ .Email.Body.Greeting }} {{ .Email.Body.Name }}{{ end }},</h2>
return `<h2>{{if .Email.Body.Title }}{{ .Email.Body.Title }}{{ else }}{{ .Email.Body.Greeting }} {{ .Email.Body.Name }},{{ end }}</h2>
{{ with .Email.Body.Intros }}
{{ range $line := . }}
<p>{{ $line }}</p>

0 comments on commit 6692b67

Please sign in to comment.
You can’t perform that action at this time.