Skip to content

Commit 84ef0ef

Browse files
authored
attr:; -> ("attr","")
Same behavior as before patch
1 parent fd24498 commit 84ef0ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/formats/style_render.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2078,7 +2078,7 @@ def maybe_convert_css_to_tuples(style: CSSProperties) -> CSSList:
20782078
return [
20792079
(x.split(":")[0].strip(), ":".join(x.split(":")[1:]).strip())
20802080
for x in s
2081-
if ":".join(x.split(":")[1:]).strip() != ""
2081+
if x.strip() != ""
20822082
]
20832083

20842084
return style

0 commit comments

Comments
 (0)