Fix double >\n when quoting empty line
This commit is contained in:
parent
0c9f59bad4
commit
b2dc624dbf
1 changed files with 1 additions and 0 deletions
|
@ -116,6 +116,7 @@ func quote(text string) string {
|
|||
for _, line := range lines {
|
||||
if line == "" {
|
||||
quoted.WriteString(">\n")
|
||||
continue
|
||||
}
|
||||
quoted.WriteString("> ")
|
||||
quoted.WriteString(line)
|
||||
|
|
Loading…
Reference in a new issue