summaryrefslogtreecommitdiff
path: root/stream.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2020-08-06 05:58:40 +0000
committerxuri <xuri.me@gmail.com>2020-08-06 05:58:40 +0000
commit843bd24e56450791ad122a2f3875956a0a70ec6e (patch)
tree3cd4a116c9867a83894b60349bff1344787d29c1 /stream.go
parentfcbc7e3f88fd016b62928c89623645758c1291ee (diff)
This closes #677 and closes #679, fix panic when enabling compiler inline flags
Diffstat (limited to 'stream.go')
-rw-r--r--stream.go2
1 files changed, 1 insertions, 1 deletions
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(`<v>`)
- xml.EscapeText(buf, stringToBytes(c.V))
+ xml.EscapeText(buf, []byte(c.V))
buf.WriteString(`</v>`)
}
buf.WriteString(`</c>`)