Skip to content

Commit

Permalink
Fix-DeprecationWarning
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurin Streng committed Feb 21, 2025
1 parent 5ebb223 commit a909801
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mkdocs_drawio/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def render_drawio_diagrams(self, output_content, page):
}

# search for images using drawio extension
diagrams = soup.findAll("img", src=re.compile(r".*\.drawio$", re.IGNORECASE))
diagrams = soup.find_all("img", src=re.compile(r".*\.drawio$", re.IGNORECASE))
if len(diagrams) == 0:
return output_content

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "mkdocs-drawio"
version = "1.8.0"
version = "1.8.1"
description = "MkDocs plugin for embedding Drawio files"
authors = [
"Jan Larwig <jan@larwig.com>",
Expand Down

0 comments on commit a909801

Please sign in to comment.