summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-02-07 20:39:15 +0100
committerSamy Pessé <samypesse@gmail.com>2015-02-07 20:39:15 +0100
commit489f23f74e6eb6fc44867004675e5c5379ca74d3 (patch)
treee3c8754bbe70e0b048257bb37fa9fa957e9cb673 /lib
parent370799ac555676bbef44fe27a569307b7e0d5232 (diff)
downloadgitbook-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.js2
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>";
});
});
});