Skip to content

Commit deb0450

Browse files
authored
fix: deprecation warning for bs4 (#23)
1 parent 5ebb223 commit deb0450

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mkdocs_drawio/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def render_drawio_diagrams(self, output_content, page):
5555
}
5656

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

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "mkdocs-drawio"
3-
version = "1.8.0"
3+
version = "1.8.1"
44
description = "MkDocs plugin for embedding Drawio files"
55
authors = [
66
"Jan Larwig <[email protected]>",

0 commit comments

Comments
 (0)