summaryrefslogtreecommitdiff
path: root/comment.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2019-07-15 09:13:55 +0800
committerGitHub <noreply@github.com>2019-07-15 09:13:55 +0800
commit74c61126581736e2214e440718fba9843d91ab94 (patch)
treeac20f3a45d3d05983de830ddf0ae04c474deb3e1 /comment.go
parent363a05734591c4d1056958bec758a3819bed90d8 (diff)
Fix #434, add missing comments
Diffstat (limited to 'comment.go')
-rw-r--r--comment.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/comment.go b/comment.go
index af70820..bc6fa27 100644
--- a/comment.go
+++ b/comment.go
@@ -42,6 +42,9 @@ func (f *File) GetComments() (comments map[string][]Comment) {
}
sheetComment.Ref = comment.Ref
sheetComment.AuthorID = comment.AuthorID
+ if comment.Text.T != nil {
+ sheetComment.Text += *comment.Text.T
+ }
for _, text := range comment.Text.R {
sheetComment.Text += text.T
}