From 564b75cdc02e91b3e9486c2147dc1c7d1a18402c Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Thu, 20 Apr 2017 23:35:48 +0800 Subject: [PATCH] bug fix #572 --- engine.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine.go b/engine.go index e13fd22a..f25d7cb2 100644 --- a/engine.go +++ b/engine.go @@ -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 = "" }