fix parsing of includeNote, closes #963

This commit is contained in:
zadam 2020-04-13 18:12:41 +02:00
parent b2508db9af
commit 48aadc8309

View file

@ -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)) {