mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
updated export + image link parsing fix
This commit is contained in:
BIN
db/demo.tar
BIN
db/demo.tar
Binary file not shown.
@@ -209,7 +209,7 @@ async function protectNoteRevisions(note) {
|
||||
}
|
||||
|
||||
function findImageLinks(content, foundLinks) {
|
||||
const re = /src="[^"]*\/api\/images\/([a-zA-Z0-9]+)\//g;
|
||||
const re = /src="[^"]*api\/images\/([a-zA-Z0-9]+)\//g;
|
||||
let match;
|
||||
|
||||
while (match = re.exec(content)) {
|
||||
|
||||
Reference in New Issue
Block a user