renamed html ->custom_html (small code tune-up)