This commit is contained in:
Lunny Xiao 2017-04-20 23:35:48 +08:00
parent ba71ae6665
commit 564b75cdc0
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A
1 changed files with 1 additions and 1 deletions

View File

@ -943,7 +943,7 @@ func (engine *Engine) mapType(v reflect.Value) (*core.Table, error) {
ctx.preTag = strings.ToUpper(tags[j-1])
}
if j < len(tags)-1 {
ctx.nextTag = strings.ToUpper(tags[j+1])
ctx.nextTag = tags[j+1]
} else {
ctx.nextTag = ""
}