diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-02-07 20:39:15 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-02-07 20:39:15 +0100 |
commit | 489f23f74e6eb6fc44867004675e5c5379ca74d3 (patch) | |
tree | e3c8754bbe70e0b048257bb37fa9fa957e9cb673 /lib | |
parent | 370799ac555676bbef44fe27a569307b7e0d5232 (diff) | |
download | gitbook-489f23f74e6eb6fc44867004675e5c5379ca74d3.zip gitbook-489f23f74e6eb6fc44867004675e5c5379ca74d3.tar.gz gitbook-489f23f74e6eb6fc44867004675e5c5379ca74d3.tar.bz2 |
Fix #595: calcul link to glossary as an absolute path
Diffstat (limited to 'lib')
-rw-r--r-- | lib/utils/page.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils/page.js b/lib/utils/page.js index a83e641..ccf5dfa 100644 --- a/lib/utils/page.js +++ b/lib/utils/page.js @@ -211,7 +211,7 @@ function normalizeHtml(src, options) { term.files = term.files || []; term.files.push(options.navigation[options.input]); } - return "<a href='"+links.toAbsolute("GLOSSARY.html", options.base, options.output)+"#"+term.id+"' class='glossary-term' title='"+term.description+"'>"+match+"</a>"; + return "<a href='"+links.toAbsolute("/GLOSSARY.html", options.base, options.output)+"#"+term.id+"' class='glossary-term' title='"+term.description+"'>"+match+"</a>"; }); }); }); |