This commit is contained in:
Yakov 2025-04-11 19:14:49 -07:00 committed by GitHub
commit 83b94e92f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -66,9 +66,9 @@ def render(
if jupyter or (jupyter is None and is_in_jupyter()):
# return HTML rendered by IPython display()
# See #4840 for details on span wrapper to disable mathjax
from IPython.core.display import HTML, display
from IPython.core.display import HTML
return display(HTML('<span class="tex2jax_ignore">{}</span>'.format(html)))
return HTML('<span class="tex2jax_ignore">{}</span>'.format(html))
return html