1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

Clipper: Fixes #2489: Fixed clipping of pages that contain images without sources (YouTube), and improved support for SVG graphics

This commit is contained in:
Laurent Cozic
2020-02-12 18:15:16 +00:00
parent b66b1ba9e6
commit 06d807d9ff
4 changed files with 72 additions and 3 deletions

View File

@ -24,7 +24,7 @@ class HtmlUtils {
output.push(matches[2]);
}
return output;
return output.filter(url => !!url);
}
replaceImageUrls(html, callback) {