summaryrefslogtreecommitdiff
path: root/comment.go
diff options
context:
space:
mode:
Diffstat (limited to 'comment.go')
-rw-r--r--comment.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/comment.go b/comment.go
index 92dd71d..ab10310 100644
--- a/comment.go
+++ b/comment.go
@@ -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
}