#185 fixed; also slight change to _repr_html_ behaviour for strings