diff --git a/docs/index.html b/docs/index.html index 36a480b..0ca52f4 100644 --- a/docs/index.html +++ b/docs/index.html @@ -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"); }) } ],