diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-02-18 13:58:10 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-02-18 13:58:10 +0100 |
commit | 6e83240233e6168aa6567eb6fcac62508fe7fd0e (patch) | |
tree | 24437d0fdd8ba6c5b8dc6e589058db5800659e50 /lib/page/html.js | |
parent | 202c235c665ff2dc007a013b45bff787ee82176b (diff) | |
download | gitbook-6e83240233e6168aa6567eb6fcac62508fe7fd0e.zip gitbook-6e83240233e6168aa6567eb6fcac62508fe7fd0e.tar.gz gitbook-6e83240233e6168aa6567eb6fcac62508fe7fd0e.tar.bz2 |
Glossary should be output as a normal page
Diffstat (limited to 'lib/page/html.js')
-rw-r--r-- | lib/page/html.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/page/html.js b/lib/page/html.js index d667059..45fae0d 100644 --- a/lib/page/html.js +++ b/lib/page/html.js @@ -164,7 +164,7 @@ HTMLPipeline.prototype.applyAnnotations = function() { replaceText(that.$, this, searchRegex, function(match) { that.opts.onAnnotation(annotation); - return '<a href="'+that.opts.onRelativeLink(annotation.href) + '#' + annotation.id+'" ' + return '<a href="' + that.opts.onRelativeLink(annotation.href) + '" ' + 'class="glossary-term" title="'+_.escape(annotation.description)+'">' + match + '</a>'; |