Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoramaia <alexandre.maia@gmail.com>2016-10-17 15:53:12 +0300
committeramaia <alexandre.maia@gmail.com>2016-10-18 15:06:02 +0300
commit9c8c5e9dc050f32cec05f6903105ff34d726979b (patch)
tree91a74e2f1eddf65e43e2499242ebaded7082ff39 /lib/banzai
parentc9d7ba4d696bfd0198ac75db6e1b2a08b4517f82 (diff)
fix: commit messages being double-escaped in activies tab
Diffstat (limited to 'lib/banzai')
-rw-r--r--lib/banzai/filter/html_entity_filter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/banzai/filter/html_entity_filter.rb b/lib/banzai/filter/html_entity_filter.rb
index e008fd428b0..f3bd587c28b 100644
--- a/lib/banzai/filter/html_entity_filter.rb
+++ b/lib/banzai/filter/html_entity_filter.rb
@@ -5,7 +5,7 @@ module Banzai
# Text filter that escapes these HTML entities: & " < >
class HtmlEntityFilter < HTML::Pipeline::TextFilter
def call
- ERB::Util.html_escape(text)
+ ERB::Util.html_escape_once(text)
end
end
end