Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

should html-escape contents #13

Open
keturn opened this issue Apr 2, 2014 · 0 comments
Open

should html-escape contents #13

keturn opened this issue Apr 2, 2014 · 0 comments

Comments

@keturn
Copy link

keturn commented Apr 2, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant