提交 33c636ee authored 作者: lizhuo's avatar lizhuo

--no commit message

上级 c662810b
......@@ -573,14 +573,15 @@ public class EpubResolve {
// 原图片资源路径
oldImg = img.toString();
// 修改替换图片路径
if (!imgSrc.contains("/resource")) {
img.attr("src", bookPath + imgSrc);
// 原图片资源路径
oldImg = img.toString();
// 修改替换图片路径
img.attr("src", "/"+bookPath +"/"+ imgSrc);
// 新的图片资源路径
newImg = img.toString();
content.setText(content.getText().replace(oldImg, newImg));
}
}
}
return content;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论