Skip to content

Commit

Permalink
refactor(plugin): switch to "find_all" déprécation warning while buil…
Browse files Browse the repository at this point in the history
…ding
  • Loading branch information
Mara-Li authored Feb 4, 2025
1 parent cd381bc commit f6447b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkdocs_embed_file_plugins/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def on_post_page(self, output_content, page, config) -> str:
md_link_path = ""
callout = self.config["callouts"]
language_message = self.config["language_message"]
for link in soup.findAll(
for link in soup.find_all(
"img",
src=lambda src: src is not None
and "favicon" not in src
Expand Down

0 comments on commit f6447b0

Please sign in to comment.