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

HTML lists seem to interfere with the QtConsole display #2314

Closed
mjs85 opened this issue Aug 17, 2012 · 1 comment · Fixed by #2370
Closed

HTML lists seem to interfere with the QtConsole display #2314

mjs85 opened this issue Aug 17, 2012 · 1 comment · Fixed by #2370
Milestone

Comments

@mjs85
Copy link

mjs85 commented Aug 17, 2012

Hi all,

We are trying to use the awesome QtConsole with some custom HTML output of our objects.

Some of these objects contains HTML lists. But when we display them the following happens.

Hopefully this is just an error in the way we are using the console, display objects, or HTML So we'd love to be corrected if that is the case. :)

Thanks!

@bfroehle
Copy link
Contributor

I can definitely confirm this. FWIW, saving the notebook as HTML produces this. Stripping all of the style attributes gives a more readable file.

Based on this, my working hypothesis is that we essentially are inserting the html, moving to the "end" (which is not actually after the list is over but instead after the word 'item') then inserting a newline and finally the next prompt.

For example, note that HTML('<ul><li>item</li></ul><p>bah!</p>') does display properly.

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

Successfully merging a pull request may close this issue.

2 participants