Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
anders-kiaer committed May 4, 2022
1 parent f4acfe7 commit e90e62a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion webviz_config/generic_plugins/_markdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,9 @@ def __init__(self, markdown_file: Path):
except TypeError:
# styles not present in bleach >= 5. We can remove
# this try/except when dropping Python 3.6 support.
from bleach.css_sanitizer import CSSSanitizer # pylint: disable=import-outside-toplevel
from bleach.css_sanitizer import ( # pylint: disable=import-outside-toplevel
CSSSanitizer,
)

css_sanitizer = CSSSanitizer(allowed_css_properties=Markdown.ALLOWED_STYLES)

Expand Down

0 comments on commit e90e62a

Please sign in to comment.