Skip to content

Commit 942d873

Browse files
committed
BUG: fix qt console repr
1 parent 6518c79 commit 942d873

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/frame.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -746,8 +746,8 @@ def _repr_html_(self):
746746
self.info(buf=buf, verbose=verbose)
747747
info = buf.getvalue()
748748
info = info.replace('&', r'&')
749-
info = info.replace('<', r'&lt')
750-
info = info.replace('>', r'&gt')
749+
info = info.replace('<', r'&lt;')
750+
info = info.replace('>', r'&gt;')
751751
return ('<pre>\n' + info + '\n</pre>')
752752
else:
753753
return None

0 commit comments

Comments
 (0)