Import "Comment #10" as "Comment 10" to not incorrectly reference issue.
This commit is contained in:
parent
c242ca9a17
commit
bc2dd5e772
1 changed files with 3 additions and 1 deletions
|
@ -203,7 +203,9 @@ module Gitlab
|
|||
end
|
||||
|
||||
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
|
||||
|
||||
def escape_for_markdown(s)
|
||||
|
|
Loading…
Reference in a new issue