mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 17:45:33 +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);
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
|
@ -10,9 +10,12 @@
|
|||
<excludeFolder url="file://$MODULE_DIR$/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$/docs" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/bin/better-sqlite3" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" name="@types/jquery" level="application" />
|
||||
</component>
|
||||
</module>
|
||||
</module>
|
||||
|
|
Loading…
Reference in a new issue