{{ if and $html $text }}
{{ if ne $html.PathString $text.PathString }}
{{/* https://github.com/golang/go/issues/31103 */}}
Plain text
HTML
{{ end }}
{{ end }}
{{if .View}}
{{.View}}
{{else}}
Can't preview this message part.
Download {{end}}