summaryrefslogtreecommitdiffstats
path: root/lib/parse/summary.js
diff options
context:
space:
mode:
authorAaron O'Mullan <aaron.omullan@gmail.com>2014-04-04 10:59:13 -0700
committerAaron O'Mullan <aaron.omullan@gmail.com>2014-04-04 10:59:13 -0700
commitd475affd3bb1255d82ff810bc8ef5ac8ac2f6f3a (patch)
tree060f11df6d7ccc24e222d35cf1ce2354f0fd6b02 /lib/parse/summary.js
parentfe3de93e06d5cc6fd757ee68013e1ec77f708018 (diff)
parent5cae311edf62e5c86edd9083a8d927730710c2f9 (diff)
downloadgitbook-d475affd3bb1255d82ff810bc8ef5ac8ac2f6f3a.zip
gitbook-d475affd3bb1255d82ff810bc8ef5ac8ac2f6f3a.tar.gz
gitbook-d475affd3bb1255d82ff810bc8ef5ac8ac2f6f3a.tar.bz2
Merge pull request #25 from GitbookIO/feature/generators
Feature/generators
Diffstat (limited to 'lib/parse/summary.js')
-rw-r--r--lib/parse/summary.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/parse/summary.js b/lib/parse/summary.js
index 0995c40..7725b59 100644
--- a/lib/parse/summary.js
+++ b/lib/parse/summary.js
@@ -82,10 +82,7 @@ function parseTitle(src, nums) {
level: level,
// Replace .md references with .html
- path: matches[2].replace(/\.md$/, '.html'),
-
- // Original, non normalized path
- _path: matches[2],
+ path: matches[2],
};
}