diff options
Diffstat (limited to 'lib/parse/page.js')
-rw-r--r-- | lib/parse/page.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/parse/page.js b/lib/parse/page.js index 75eca9d..b17f593 100644 --- a/lib/parse/page.js +++ b/lib/parse/page.js @@ -50,6 +50,9 @@ function sectionType(nodes, idx) { // Render a section using our custom renderer function render(section, _options) { + // Copy section + section = _.toArray(section); + // marked's Render expects this, we don't use it yet section.links = {}; |