Selaa lähdekoodia

Fix #434, add missing comments

xuri 6 vuotta sitten
vanhempi
commit
74c6112658
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 3 0
      comment.go

+ 3 - 0
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
 				}