For example, if I have a list of Foo, and repr(foo) is <Foo at 0x49199d0>, that's what I should see in the table cell. Right now the cell gets that literally and it's interpreted as an XML tag, which isn't so great.
Objects that have specific HTML repr methods (_repr_html_ for ipython-notebook) should use those instead of being escaped.
MarkupSafe may also be of interest here.
For example, if I have a list of Foo, and repr(foo) is
<Foo at 0x49199d0>, that's what I should see in the table cell. Right now the cell gets that literally and it's interpreted as an XML tag, which isn't so great.Objects that have specific HTML repr methods (
_repr_html_for ipython-notebook) should use those instead of being escaped.MarkupSafe may also be of interest here.