htmlentities and sanitize label to solve <label issue

http://forge.taotesting.com/issues/3303