mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +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) {
|
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;
|
let match;
|
||||||
|
|
||||||
while (match = re.exec(content)) {
|
while (match = re.exec(content)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user