diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/dumbymap.mjs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dumbymap.mjs b/src/dumbymap.mjs index 706e874..b612367 100644 --- a/src/dumbymap.mjs +++ b/src/dumbymap.mjs | |||
| @@ -91,7 +91,7 @@ export const markdown2HTML = (container, mdContent) => { | |||
| 91 | * @param {HTMLElement} root | 91 | * @param {HTMLElement} root |
| 92 | */ | 92 | */ |
| 93 | const defaultBlocks = root => { | 93 | const defaultBlocks = root => { |
| 94 | const articles = root.querySelectorAll('article') | 94 | const articles = Array.from(root.querySelectorAll('article')) |
| 95 | if (articles.length > 2) return articles | 95 | if (articles.length > 2) return articles |
| 96 | 96 | ||
| 97 | const others = Array.from( | 97 | const others = Array.from( |