1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-12 22:57:38 +02:00

All: Improved handling of empty links when importing ENEX files. Fixed minor layout issues in Electron app

This commit is contained in:
Laurent Cozic
2017-12-07 00:57:36 +00:00
parent ed914c6907
commit 7008daf92a
5 changed files with 45 additions and 23 deletions

View File

@ -100,7 +100,7 @@ class MdToHtml {
const href = this.getAttr_(attrs, 'src');
if (!Resource.isResourceUrl(href)) {
return '<span>' + href + '</span><img title="' + htmlentities(title) + '" src="' + href + '"/>';
return '<img title="' + htmlentities(title) + '" src="' + href + '"/>';
}
const resourceId = Resource.urlToId(href);