-
- Downloads
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.
Showing
- Gemfile 1 addition, 0 deletionsGemfile
- Gemfile.lock 4 additions, 0 deletionsGemfile.lock
- app/helpers/search_helper.rb 12 additions, 2 deletionsapp/helpers/search_helper.rb
- app/views/search/results/_issue.html.haml 1 addition, 1 deletionapp/views/search/results/_issue.html.haml
- app/views/search/results/_merge_request.html.haml 1 addition, 1 deletionapp/views/search/results/_merge_request.html.haml
- app/views/search/results/_milestone.html.haml 1 addition, 1 deletionapp/views/search/results/_milestone.html.haml
- app/views/search/results/_note.html.haml 1 addition, 1 deletionapp/views/search/results/_note.html.haml
Loading
| Loading
| @@ -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 | ||
Loading
| Loading
|
Please register or sign in to comment