diff options
author | Samy Pesse <samypesse@gmail.com> | 2016-04-23 23:58:08 +0200 |
---|---|---|
committer | Samy Pesse <samypesse@gmail.com> | 2016-04-23 23:58:08 +0200 |
commit | 927185d95c9875a9b74d176b93669ebdbceecd14 (patch) | |
tree | 94c0b9ef45af8d86c8250ed8c86ad2810ac49d79 /lib/output/modifiers/annotateText.js | |
parent | a3df6c6f0c1068762f9d48cdff97ab5d4c583082 (diff) | |
download | gitbook-927185d95c9875a9b74d176b93669ebdbceecd14.zip gitbook-927185d95c9875a9b74d176b93669ebdbceecd14.tar.gz gitbook-927185d95c9875a9b74d176b93669ebdbceecd14.tar.bz2 |
add test for modifier "annotateText"
Diffstat (limited to 'lib/output/modifiers/annotateText.js')
-rw-r--r-- | lib/output/modifiers/annotateText.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/output/modifiers/annotateText.js b/lib/output/modifiers/annotateText.js index 2832f91..d8443cf 100644 --- a/lib/output/modifiers/annotateText.js +++ b/lib/output/modifiers/annotateText.js @@ -81,7 +81,7 @@ function annotateText(entries, $) { ) return; replaceText($, this, searchRegex, function(match) { - return '<a href="/GLOSSARY.html#' + entryId + '" ' + return '<a href="/GLOSSARY.md#' + entryId + '" ' + 'class="glossary-term" title="' + escape(description) + '">' + match + '</a>'; |