mirror of
https://github.com/zadam/trilium.git
synced 2024-11-11 09:46:25 +08:00
fix parsing of includeNote, closes #963
This commit is contained in:
parent
b2508db9af
commit
48aadc8309
1 changed files with 1 additions and 1 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue