Made the default to_html and correct behaviour on []