mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
updated export + image link parsing fix
This commit is contained in:
parent
1c0b55e422
commit
89ed9027da
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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user