diff --git a/source/_posts/linux/博客图片迁移记.md b/source/_posts/linux/博客图片迁移记.md index a9bda85..5eb5d63 100644 --- a/source/_posts/linux/博客图片迁移记.md +++ b/source/_posts/linux/博客图片迁移记.md @@ -246,7 +246,7 @@ hexo.extend.filter.register('before_post_render', function(data){ // data.content 是处理过代码块语法高亮的内容 if(hexo.config.picture_cdn) { data.content = data.content.replace(/\]\s*\((?=(?!http).*?\))/gi, - `](${hexo.config.picture_cdn}`) + ']'+`(${hexo.config.picture_cdn}`) } return data; });