diff options
author | xuri <xuri.me@gmail.com> | 2018-07-17 15:28:22 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2018-07-17 15:28:22 +0800 |
commit | a3571ee39bec82d15d9a183aed7f7db39e0a160f (patch) | |
tree | 92e5961496640d711006768f71542dae93ab89ea /comment.go | |
parent | 79dfe1c3070b3c4af14a40acaa5bd8cb477acd3e (diff) |
Bugfix: create worksheet cause file issue. Relate issue #249.
Diffstat (limited to 'comment.go')
-rw-r--r-- | comment.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -15,7 +15,7 @@ func parseFormatCommentsSet(formatSet string) (*formatComment, error) { Author: "Author:", Text: " ", } - err := json.Unmarshal(parseFormatSet(formatSet), &format) + err := json.Unmarshal([]byte(formatSet), &format) return &format, err } |