fixes to link parsing and tweaks

This commit is contained in:
zadam
2019-08-29 23:08:30 +02:00
parent 10d089240a
commit 1c0b55e422
4 changed files with 27 additions and 3 deletions

View File

@@ -214,7 +214,7 @@ function findImageLinks(content, foundLinks) {
while (match = re.exec(content)) {
foundLinks.push({
type: 'image-link',
name: 'image-link',
value: match[1]
});
}
@@ -244,7 +244,7 @@ function findRelationMapLinks(content, foundLinks) {
for (const note of obj.notes) {
foundLinks.push({
type: 'relation-map-link',
name: 'relation-map-link',
value: note.noteId
})
}