Fix missing newline in ql, qla output Need to use SplitAfter, not Split, to retain the newlines.
1 files changed, 1 insertions(+), 1 deletions(-) M goquote.go
M goquote.go => goquote.go +1 -1
@@ 97,7 97,7 @@ loop: quotefn = strconv.QuoteToASCII fallback = "qa" } - lines := strings.Split(string(b), "\n") + lines := strings.SplitAfter(string(b), "\n") if len(lines) <= 1 { mode = fallback goto loop