Skip to content

Commit 70bf915

Browse files
authored
Update html.py
Adding a mathjax_ignore as a bug fix to ensure that proper formatting is performed
1 parent ba7e83d commit 70bf915

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/io/formats/html.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ def _write_table(self, indent: int = 0) -> None:
239239
use_mathjax = get_option("display.html.use_mathjax")
240240
if not use_mathjax:
241241
_classes.append("tex2jax_ignore")
242+
_classes.append("mathjax_ignore"
242243
if self.classes is not None:
243244
if isinstance(self.classes, str):
244245
self.classes = self.classes.split()

0 commit comments

Comments
 (0)