Encode HTML in tag name