From 2f5704b114d033e81725f18459f9293a9adfee1e Mon Sep 17 00:00:00 2001 From: "charles.deng" Date: Mon, 10 Oct 2022 00:11:18 +0800 Subject: Stream writer support to set inline rich text cell (#1121) Co-authored-by: zhengchao.deng --- xmlSharedStrings.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'xmlSharedStrings.go') diff --git a/xmlSharedStrings.go b/xmlSharedStrings.go index 683105e..3249eca 100644 --- a/xmlSharedStrings.go +++ b/xmlSharedStrings.go @@ -46,8 +46,9 @@ type xlsxSI struct { // properties are defined in the rPr element, and the text displayed to the // user is defined in the Text (t) element. type xlsxR struct { - RPr *xlsxRPr `xml:"rPr"` - T *xlsxT `xml:"t"` + XMLName xml.Name `xml:"r"` + RPr *xlsxRPr `xml:"rPr"` + T *xlsxT `xml:"t"` } // xlsxT directly maps the t element in the run properties. -- cgit v1.2.1