Commit Graph

5 Commits

Author SHA1 Message Date
Stan Hu 8b4154b57f Enable frozen strings in lib/banzai/filter/*.rb
Excludes a few filters that require more work:

* lib/banzai/filter/image_lazy_load_filter_spec.rb
* lib/banzai/filter/syntax_highlight_filter_spec.rb
* lib/banzai/filter/table_of_contents_filter_spec.rb

Part of #47424
2018-07-23 02:39:45 -07:00
Douwe Maan bed60b8c47 Escape HTML entities in commit messages 2018-02-15 12:07:03 +01:00
amaia 9c8c5e9dc0 fix: commit messages being double-escaped in activies tab 2016-10-18 05:06:02 -07:00
Nick Thomas aac2af5bc4 HTMLEntityFilter -> HtmlEntityFilter 2016-10-10 15:46:26 +01:00
Nick Thomas 9920551536 Enable CacheMarkdownField for the remaining models
This commit alters views for the following models to use the markdown cache if
present:

* AbuseReport
* Appearance
* ApplicationSetting
* BroadcastMessage
* Group
* Issue
* Label
* MergeRequest
* Milestone
* Project

At the same time, calls to `escape_once` have been moved into the `single_line`
Banzai pipeline, so they can't be missed out by accident and the work is done
at save, rather than render, time.
2016-10-07 02:54:26 +01:00