We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9e9965 commit f4237b7Copy full SHA for f4237b7
1 file changed
index.html
@@ -2,7 +2,7 @@
2
3
<html>
4
<markdown-html
5
- version="1.20.6"
+ version="1.20.7"
6
author="PJ568"
7
repo="https://github.com/PJ-568/markdown.html"
8
license="CC BY-SA 4.0 International"
@@ -634,7 +634,12 @@
634
images.forEach((img) => {
635
const src = img.getAttribute("src");
636
img.setAttribute("loading", "lazy");
637
- if (src && !isExternalLink(src) && isRelativePath(src)) {
+ if (
638
+ src &&
639
+ !src.startsWith("data:") &&
640
+ !isExternalLink(src) &&
641
+ isRelativePath(src)
642
+ ) {
643
var absolutePath = pValue
644
? getDirectory(mdPath) + src
645
: getPath() + src;
0 commit comments