diff options
Diffstat (limited to 'lib/banzai/filter/milestone_reference_filter.rb')
-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 4c47ee4dba1..126208db935 100644 --- a/lib/banzai/filter/milestone_reference_filter.rb +++ b/lib/banzai/filter/milestone_reference_filter.rb @@ -121,7 +121,7 @@ module Banzai def object_link_text(object, matches) milestone_link = escape_once(super) - reference = object.project&.to_reference(project) + reference = object.project&.to_reference_base(project) if reference.present? "#{milestone_link} <i>in #{reference}</i>".html_safe |