update index

This commit is contained in:
qiwang067
2022-06-23 21:27:24 +08:00
parent 87b5538d10
commit 8146cb62ce

View File

@@ -33,7 +33,7 @@
// 每次开始解析 Markdown 内容时调用
// 将所有../img替换成img
// https://github.com/docsifyjs/docsify/issues/936
return content.replace(img/g, "img");
return content.replace(/..\/img/g, "img");
})
}
],