forked from p30928647/excelize
Fix #434, add missing comments
This commit is contained in:
parent
363a057345
commit
74c6112658
|
@ -42,6 +42,9 @@ func (f *File) GetComments() (comments map[string][]Comment) {
|
||||||
}
|
}
|
||||||
sheetComment.Ref = comment.Ref
|
sheetComment.Ref = comment.Ref
|
||||||
sheetComment.AuthorID = comment.AuthorID
|
sheetComment.AuthorID = comment.AuthorID
|
||||||
|
if comment.Text.T != nil {
|
||||||
|
sheetComment.Text += *comment.Text.T
|
||||||
|
}
|
||||||
for _, text := range comment.Text.R {
|
for _, text := range comment.Text.R {
|
||||||
sheetComment.Text += text.T
|
sheetComment.Text += text.T
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue