BigW Consortium Gitlab

Commit bc2dd5e7 by Douwe Maan

Import "Comment #10" as "Comment 10" to not incorrectly reference issue.

parent c242ca9a
...@@ -203,7 +203,9 @@ module Gitlab ...@@ -203,7 +203,9 @@ module Gitlab
end end
def linkify_issues(s) def linkify_issues(s)
s.gsub(/([Ii]ssue) ([0-9]+)/, '\1 #\2') s = s.gsub(/([Ii]ssue) ([0-9]+)/, '\1 #\2')
s = s.gsub(/([Cc]omment) #([0-9]+)/, '\1 \2')
s
end end
def escape_for_markdown(s) def escape_for_markdown(s)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment