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

Ignore display.max_rows in DataFrame.to_html(escape=False) #9690

Open
flying-sheep opened this issue Mar 20, 2015 · 0 comments
Open

Ignore display.max_rows in DataFrame.to_html(escape=False) #9690

flying-sheep opened this issue Mar 20, 2015 · 0 comments
Labels
Bug IO HTML read_html, to_html, Styler.apply, Styler.applymap

Comments

@flying-sheep
Copy link
Contributor

If escape=False is specified, this dataframe fill fail horribly…

df = DataFrame(data={
    'test': ['<a href="http://reallylongurlthateasilyislongerthan50characters.htm">short linkname</a>'],
})

…as the <td><a href="http://reallylongurlthateasilyislongertha...</td> will be broken HTML, and the a tag is closed by the closing td tag.

i propose that display.max_rows is ignored for cells that contain unescaped HTML tags (i.e. at least one < character)

Related to #8273

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug IO HTML read_html, to_html, Styler.apply, Styler.applymap
Projects
None yet
Development

No branches or pull requests

2 participants