Skip to content

Commit 32ea6a5

Browse files
committed
fix: URI broke plugins
1 parent 8cac6c9 commit 32ea6a5

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
@@ -219,7 +219,7 @@ def on_post_page(self, output_content, page, config) -> str:
219219
for link in soup.findAll(
220220
'img',
221221
src=lambda src: src is not None and 'favicon' not in src and not src.endswith(
222-
('png', 'jpg', 'jpeg', 'gif', 'svg')) and not 'www' in src and not 'http' in src,
222+
('png', 'jpg', 'jpeg', 'gif', 'svg')) and not 'www' in src and not 'http' in src and not '://' in src',
223223
):
224224
if len(link['src']) > 0:
225225

0 commit comments

Comments
 (0)