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
... | @@ -110,6 +110,7 @@ gem 'creole', '~> 0.5.0' | ... | @@ -110,6 +110,7 @@ gem 'creole', '~> 0.5.0' |
gem 'wikicloth', '0.8.1' | gem 'wikicloth', '0.8.1' | ||
gem 'asciidoctor', '~> 1.5.2' | gem 'asciidoctor', '~> 1.5.2' | ||
gem 'rouge', '~> 2.0' | gem 'rouge', '~> 2.0' | ||
gem 'truncato', '~> 0.7.8' | |||
# See https://groups.google.com/forum/#!topic/ruby-security-ann/aSbgDiwb24s | # See https://groups.google.com/forum/#!topic/ruby-security-ann/aSbgDiwb24s | ||
# and https://groups.google.com/forum/#!topic/ruby-security-ann/Dy7YiKb_pMM | # and https://groups.google.com/forum/#!topic/ruby-security-ann/Dy7YiKb_pMM | ||
... | ... |
Please register or sign in to comment