diff options
author | Srivathsan Murali <sri@vathsan.com> | 2019-12-10 11:54:53 +0100 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-01-04 12:23:02 -0500 |
commit | b2dc624dbff6b9028ee7ab883f817166a610c9e3 (patch) | |
tree | 783a30dd5cce35ab903b9f336f664f2978f80a13 /lib/templates | |
parent | 0c9f59bad49d5b7073efd1acd7c0299a02b25509 (diff) | |
download | aerc-b2dc624dbff6b9028ee7ab883f817166a610c9e3.tar.gz |
Fix double >\n when quoting empty line
Diffstat (limited to 'lib/templates')
-rw-r--r-- | lib/templates/template.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/templates/template.go b/lib/templates/template.go index a2f35e2..21f7b35 100644 --- a/lib/templates/template.go +++ b/lib/templates/template.go @@ -116,6 +116,7 @@ func quote(text string) string { for _, line := range lines { if line == "" { quoted.WriteString(">\n") + continue } quoted.WriteString("> ") quoted.WriteString(line) |