forked from mirror/MrDoc
优化Markdown图片加载失败时提示信息
This commit is contained in:
parent
03b8310acd
commit
938e0f2692
@ -3688,6 +3688,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
if(!text.trim()){text="invalid image(图片无法加载)";}
|
||||
return begin + "<img src=\""+href+"\" title=\""+title+"\" alt=\""+text+"\" "+attr+" />" + end;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user