@@ -270,7 +270,7 namespace :redmine do | |||
|
270 | 270 | text = text.gsub(/\[(http[^\s]+)\s+([^\]]+)\]/) {|s| "\"#{$2}\":#{$1}"} |
|
271 | 271 | # Situations like the following: |
|
272 | 272 | # [ticket:234 Text],[ticket:234 This is a test] |
|
273 |
text = text.gsub(/\[ticket\:([^\ ]+)\ (.+?)\]/, ' |
|
|
273 | text = text.gsub(/\[ticket\:([^\ ]+)\ (.+?)\]/, '"\2":/issues/show/\1') | |
|
274 | 274 | # Situations like: |
|
275 | 275 | # ticket:1234 |
|
276 | 276 | # #1 is working cause Redmine uses the same syntax. |
General Comments 0
You need to be logged in to leave comments.
Login now