summaryrefslogtreecommitdiffstats
path: root/test/books
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-05-28 15:21:03 +0200
committerSamy Pessé <samypesse@gmail.com>2015-05-28 15:21:03 +0200
commit946883fd4c7aebe625868df3d90728f6d69607ce (patch)
tree5c972e11da8d86c2389452c6e41c0b838de7ecce /test/books
parentb1b7e3148b132abf8fe79bf1f7021370f0822f55 (diff)
parent32203f643825c12e7869006896b03f08cfaa43cc (diff)
downloadgitbook-946883fd4c7aebe625868df3d90728f6d69607ce.zip
gitbook-946883fd4c7aebe625868df3d90728f6d69607ce.tar.gz
gitbook-946883fd4c7aebe625868df3d90728f6d69607ce.tar.bz2
Merge pull request #772 from GitbookIO/feature/glossary_order
Fix #768: sort glossary, start with longest matchs
Diffstat (limited to 'test/books')
-rw-r--r--test/books/glossary/GLOSSARY.md4
-rw-r--r--test/books/glossary/README.md2
2 files changed, 6 insertions, 0 deletions
diff --git a/test/books/glossary/GLOSSARY.md b/test/books/glossary/GLOSSARY.md
index fa706f1..18840d2 100644
--- a/test/books/glossary/GLOSSARY.md
+++ b/test/books/glossary/GLOSSARY.md
@@ -7,3 +7,7 @@ Just a simple and easy to understand test.
## hakunamatata
This word is not present in the content.
+
+## test long
+
+This is a test with a longer text that the first entry to test order.
diff --git a/test/books/glossary/README.md b/test/books/glossary/README.md
index 50e8d4c..d46da8b 100644
--- a/test/books/glossary/README.md
+++ b/test/books/glossary/README.md
@@ -6,3 +6,5 @@ The word test should be replaced by a glossary link.
But the word test should not be replaced in code blocks
```
+The two words test long should be replaced by the correct glossary links.
+