mirror of
https://github.com/zadam/trilium.git
synced 2025-10-28 08:46:43 +01:00
fix parsing of includeNote, closes #963
This commit is contained in:
@@ -226,7 +226,7 @@ function findInternalLinks(content, foundLinks) {
|
||||
}
|
||||
|
||||
function findIncludeNoteLinks(content, foundLinks) {
|
||||
const re = /<section class="include-note" data-note-id="([a-zA-Z0-9]+)">/g;
|
||||
const re = /<section class="include-note[^>]+data-note-id="([a-zA-Z0-9]+)"[^>]*>/g;
|
||||
let match;
|
||||
|
||||
while (match = re.exec(content)) {
|
||||
|
||||
Reference in New Issue
Block a user