Fix Build.Message retrieval (#48)

This commit is contained in:
Rafael Bodill 2017-08-25 17:08:48 +03:00 committed by Bo-Yi Wu
parent 036ec04567
commit eaeb3f678e

View File

@ -239,7 +239,7 @@ func (p Plugin) Exec() error {
if p.Config.Format == "markdown" {
message = escapeMarkdown(message)
p.Build.Message = escapeMarkdownOne(p.Build.Author)
p.Build.Message = escapeMarkdownOne(p.Build.Message)
p.Build.Branch = escapeMarkdownOne(p.Build.Branch)
p.Build.Author = escapeMarkdownOne(p.Build.Author)
p.Build.Email = escapeMarkdownOne(p.Build.Email)