mirror of
https://github.com/zadam/trilium.git
synced 2025-03-02 01:53:11 +08:00
Merge remote-tracking branch 'origin/stable'
# Conflicts: # package-lock.json # trilium.iml
This commit is contained in:
commit
9ba514d930
2 changed files with 9 additions and 2 deletions
|
@ -107,7 +107,11 @@ function processContent(images, note, content) {
|
||||||
const filename = path.basename(src);
|
const filename = path.basename(src);
|
||||||
|
|
||||||
if (!dataUrl || !dataUrl.startsWith("data:image")) {
|
if (!dataUrl || !dataUrl.startsWith("data:image")) {
|
||||||
log.info("Image could not be recognized as data URL:", dataUrl.substr(0, Math.min(100, dataUrl.length)));
|
const excerpt = dataUrl
|
||||||
|
? dataUrl.substr(0, Math.min(100, dataUrl.length))
|
||||||
|
: "null";
|
||||||
|
|
||||||
|
log.info("Image could not be recognized as data URL: " + excerpt);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,9 @@
|
||||||
<excludeFolder url="file://$MODULE_DIR$/dist" />
|
<excludeFolder url="file://$MODULE_DIR$/dist" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/src/public/app-dist" />
|
<excludeFolder url="file://$MODULE_DIR$/src/public/app-dist" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/libraries" />
|
<excludeFolder url="file://$MODULE_DIR$/libraries" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/libraries" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/docs" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/bin/better-sqlite3" />
|
||||||
</content>
|
</content>
|
||||||
<orderEntry type="inheritedJdk" />
|
<orderEntry type="inheritedJdk" />
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
|
Loading…
Reference in a new issue