Skip to content

Commit

Permalink
Merge pull request #139 from imlinhanchao/master
Browse files Browse the repository at this point in the history
🐞 修复文章存在两张相同地址的图片会导致 CDN 地址错误
  • Loading branch information
csfwff authored Sep 26, 2023
2 parents 698df99 + 090ead3 commit 14bd0d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/b3log/symphony/util/Images.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public static String qiniuImgProcessing(final String content) {
continue;
}

ret = StringUtils.replace(ret, imgSrc, imgSrc + "?imageView2/2/w/768/format/webp/interlace/1");
ret = StringUtils.replace(ret, imgSrc + "\"", imgSrc + "?imageView2/2/w/768/format/webp/interlace/1\"");
}

return ret;
Expand Down

0 comments on commit 14bd0d3

Please sign in to comment.