summaryrefslogtreecommitdiff
path: root/Gemfile
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2016-10-06 22:55:27 +0100
committerNick Thomas <nick@gitlab.com>2016-10-07 02:54:26 +0100
commitdd159a750b294ee89cb8a4143284ff9788b639fc (patch)
treeb70548ebd7173130a5c32903874f527175943671 /Gemfile
parent109816c42fbe44fca108b52308a5fa4366876216 (diff)
downloadgitlab-ce-dd159a750b294ee89cb8a4143284ff9788b639fc.tar.gz
Make search results use the markdown cache columns, treating them consistently
Truncato is introduced as a dependency to intelligently shorten the rendered HTML to 200 characters; the previous approach could have resulted in invalid HTML being rendered.
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
index 3e8ce8b2fc5..426b824901e 100644
--- a/Gemfile
+++ b/Gemfile
@@ -110,6 +110,7 @@ gem 'creole', '~> 0.5.0'
gem 'wikicloth', '0.8.1'
gem 'asciidoctor', '~> 1.5.2'
gem 'rouge', '~> 2.0'
+gem 'truncato', '~> 0.7.8'
# See https://groups.google.com/forum/#!topic/ruby-security-ann/aSbgDiwb24s
# and https://groups.google.com/forum/#!topic/ruby-security-ann/Dy7YiKb_pMM