mirror of
https://github.com/leanote/desktop-app.git
synced 2025-10-14 23:22:40 +00:00
note thumb not base64 data
This commit is contained in:
@@ -518,7 +518,7 @@ Note.getImgSrc = function(content) {
|
||||
var imgs = $(content).find("img");
|
||||
for (var i in imgs) {
|
||||
var src = imgs.eq(i).attr("src");
|
||||
if (src) {
|
||||
if(src && src.indexOf('data:image') < 0) { // 不是base64数据
|
||||
return src;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user