update end div tag

bug fix with closeTag == true
Merge pull request #1 from gplaza/patch-1

update end div tag