Tweak #to_html method.