ipy_table icon indicating copy to clipboard operation
ipy_table copied to clipboard

should html-escape contents

Open keturn opened this issue 10 years ago • 0 comments

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.

keturn avatar Apr 02 '14 22:04 keturn