summaryrefslogtreecommitdiff
path: root/stream.go
diff options
context:
space:
mode:
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 98cf828..1af0b9f 100644
--- a/stream.go
+++ b/stream.go
@@ -365,7 +365,7 @@ func writeCell(buf *bufferedWriter, c xlsxC) {
buf.WriteString(`>`)
if c.V != "" {
buf.WriteString(`<v>`)
- xml.EscapeText(buf, []byte(c.V))
+ xml.EscapeText(buf, stringToBytes(c.V))
buf.WriteString(`</v>`)
}
buf.WriteString(`</c>`)