From 843bd24e56450791ad122a2f3875956a0a70ec6e Mon Sep 17 00:00:00 2001 From: xuri Date: Thu, 6 Aug 2020 05:58:40 +0000 Subject: This closes #677 and closes #679, fix panic when enabling compiler inline flags --- stream.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stream.go') diff --git a/stream.go b/stream.go index ec1e65b..19f5ca7 100644 --- a/stream.go +++ b/stream.go @@ -367,7 +367,7 @@ func writeCell(buf *bufferedWriter, c xlsxC) { buf.WriteString(`>`) if c.V != "" { buf.WriteString(``) - xml.EscapeText(buf, stringToBytes(c.V)) + xml.EscapeText(buf, []byte(c.V)) buf.WriteString(``) } buf.WriteString(``) -- cgit v1.2.1