diff options
author | Alejandro RodrÃguez <alejandroluis24@gmail.com> | 2016-04-04 23:09:44 -0300 |
---|---|---|
committer | Alejandro RodrÃguez <alejandroluis24@gmail.com> | 2016-04-20 22:12:43 -0300 |
commit | 1ff896f2bf5d06d0d772fd0df98bf43edf107373 (patch) | |
tree | e8bd284dc13fdac270f05123778b8a6fe712b8a0 /lib | |
parent | 6d9794d42a7bea1150374c76fd3ce5521a44e58e (diff) | |
download | gitlab-ce-1ff896f2bf5d06d0d772fd0df98bf43edf107373.tar.gz |
Escaping the `object_link_text` on cross project milestone references
Diffstat (limited to 'lib')
-rw-r--r-- | lib/banzai/filter/milestone_reference_filter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/banzai/filter/milestone_reference_filter.rb b/lib/banzai/filter/milestone_reference_filter.rb index 556087c4880..aea1abf3b8e 100644 --- a/lib/banzai/filter/milestone_reference_filter.rb +++ b/lib/banzai/filter/milestone_reference_filter.rb @@ -39,7 +39,7 @@ module Banzai if context[:project] == object.project super else - "#{super} <i>in #{escape_once(object.project.name_with_namespace)}</i>". + "#{escape_once(super)} <i>in #{escape_once(object.project.name_with_namespace)}</i>". html_safe end end |