diff options
Diffstat (limited to 'lib/parse/page.js')
-rw-r--r-- | lib/parse/page.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/parse/page.js b/lib/parse/page.js index d714a15..b459798 100644 --- a/lib/parse/page.js +++ b/lib/parse/page.js @@ -13,10 +13,9 @@ var lnormalize = require('../utils/lang').normalize; // Render a section using our custom renderer function render(section, _options) { // Copy section + var links = section.links || {}; section = _.toArray(section); - - // marked's Render expects this, we don't use it yet - section.links = {}; + section.links = links; // Build options using defaults and our custom renderer var options = _.extend({}, marked.defaults, { |