Skip to content

Commit

Permalink
Ensure bokeh correctly detects whether HTML/Markdown contains latex (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Apr 22, 2022
1 parent f111c4f commit 2ba0b94
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions panel/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,7 @@ def __call__(self, *args, **params):
except Exception:
pass
__import__(self._imports[arg])
self._loaded_extensions.append(arg)
elif arg in reactive_exts:
ReactiveHTMLMetaclass._loaded_extensions.add(arg)
else:
Expand Down
4 changes: 2 additions & 2 deletions panel/models/markup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
from bokeh.core.properties import (
Bool, Dict, Either, Float, Int, List, Null, String
)
from bokeh.models.widgets import Markup
from bokeh.models.widgets import Markup, Div


class HTML(Markup):
class HTML(Div):
"""
A bokeh model to render HTML markup including embedded script tags.
"""
Expand Down

0 comments on commit 2ba0b94

Please sign in to comment.