Fix collate
This commit is contained in:
parent
eb3b01d8e0
commit
4f2780ea3d
|
@ -285,7 +285,10 @@ func CommentTagHandler(ctx *Context) error {
|
|||
|
||||
func CollateTagHandler(ctx *Context) error {
|
||||
if len(ctx.params) > 0 {
|
||||
ctx.col.Collate = strings.Trim(ctx.params[0], "' ")
|
||||
ctx.col.Collate = ctx.params[0]
|
||||
} else {
|
||||
ctx.col.Collate = ctx.nextTag
|
||||
ctx.ignoreNext = true
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue