diff options
-rw-r--r-- | app/helpers/packages_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/packages_helper.rb b/app/helpers/packages_helper.rb index 3ddde56..10aee94 100644 --- a/app/helpers/packages_helper.rb +++ b/app/helpers/packages_helper.rb @@ -44,7 +44,7 @@ module PackagesHelper #end def annotate_bugs(str) - annotated_str = str.gsub(/([bB]ug\s+|[bB]ug\s+#|#)(\d+)/) do + annotated_str = (h str).gsub(/([bB]ug\s+|[bB]ug\s+#|#)(\d+)/) do link_to_bug("#{$1}#{$2}", $2) end |