diff --git a/scripts/filters/lazyload-handle.js b/scripts/filters/lazyload-handle.js
index 8e63e35..2e6c9c1 100644
--- a/scripts/filters/lazyload-handle.js
+++ b/scripts/filters/lazyload-handle.js
@@ -6,7 +6,7 @@ hexo.extend.filter.register(
if (!theme.lazyload || !theme.lazyload.enable) return;
data.content = data.content.replace(
// Match 'img' tags width the src attribute.
- /]*)src="([^"]*)"([^>]*)>/gim,
+ /]*)src="([^"]*)"([^>\/]*)\/?\s*>/gim,
function (match, attrBegin, src, attrEnd) {
// Exit if the src doesn't exists.
if (!src) return match;