summaryrefslogtreecommitdiffstats
path: root/lib/parse/lex.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/parse/lex.js')
-rw-r--r--lib/parse/lex.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/parse/lex.js b/lib/parse/lex.js
index 17eab69..852d4e0 100644
--- a/lib/parse/lex.js
+++ b/lib/parse/lex.js
@@ -118,6 +118,10 @@ function lexPage(src) {
return sections;
}, [])
+ .map(function(section) {
+ section.links = nodes.links;
+ return section;
+ })
.value();
}