-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
Open
Labels
BugIO HTMLread_html, to_html, Styler.apply, Styler.applymapread_html, to_html, Styler.apply, Styler.applymap
Description
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
Metadata
Metadata
Assignees
Labels
BugIO HTMLread_html, to_html, Styler.apply, Styler.applymapread_html, to_html, Styler.apply, Styler.applymap