Skip to content

Commit f6447b0

Browse files
authored
refactor(plugin): switch to "find_all" déprécation warning while building
1 parent cd381bc commit f6447b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mkdocs_embed_file_plugins/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def on_post_page(self, output_content, page, config) -> str:
180180
md_link_path = ""
181181
callout = self.config["callouts"]
182182
language_message = self.config["language_message"]
183-
for link in soup.findAll(
183+
for link in soup.find_all(
184184
"img",
185185
src=lambda src: src is not None
186186
and "favicon" not in src

0 commit comments

Comments
 (0)