[fix] html to mask with '-' in attributes