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 e90e62a commit 862d800
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webviz_config/generic_plugins/_markdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def __init__(self, markdown_file: Path):
self.markdown_file = markdown_file

try:
self.html = bleach.clean(
self.html = bleach.clean( # pylint: disable=unexpected-keyword-arg
markdown.markdown(
get_path(self.markdown_file).read_text(),
extensions=[
Expand All @@ -179,7 +179,7 @@ def __init__(self, markdown_file: Path):
),
tags=Markdown.ALLOWED_TAGS,
attributes=Markdown.ALLOWED_ATTRIBUTES,
styles=Markdown.ALLOWED_STYLES, # pylint: disable=unexpected-keyword-arg
styles=Markdown.ALLOWED_STYLES,
)
except TypeError:
# styles not present in bleach >= 5. We can remove
Expand Down

0 comments on commit 862d800

Please sign in to comment.