diff --git a/zscan.go b/zscan.go index 5d8fa887..9a68fe8d 100644 --- a/zscan.go +++ b/zscan.go @@ -521,8 +521,11 @@ func zlexer(s scanner.Scanner, c chan lex) { stri = 0 } commt = true + case '\r': + // discard + // this means it can also not be used as rdata case '\n': - // Hmmm, escape newline + // hmmm, escape newline if quote { str[stri] = byte(x[0]) stri++