Fixed issue where closing spans where inserted after their parent elements closing tag.
Fixed issue where closing spans where inserted after their parent elements closing tag.

avanteweb/debugdevkit,avanteweb/debugdevkit,wjn/debugdevkit,wjn/debugdevkit