mirror of
https://github.com/explosion/spaCy.git
synced 2025-06-10 08:03:15 +03:00
Merge d11b056239
into 98a19df91a
This commit is contained in:
commit
83b94e92f6
|
@ -66,9 +66,9 @@ def render(
|
||||||
if jupyter or (jupyter is None and is_in_jupyter()):
|
if jupyter or (jupyter is None and is_in_jupyter()):
|
||||||
# return HTML rendered by IPython display()
|
# return HTML rendered by IPython display()
|
||||||
# See #4840 for details on span wrapper to disable mathjax
|
# 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
|
return html
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user