Changeset 512
[#419] Fixed changeset references (status:fixed)
Aug 04 2008 * 20:39 (3 months ago)
Committed by ddenissenko
Affected files:
trunk/app/helpers/application_helper.rb (Download diff)
| r494 | r512 | ||
|---|---|---|---|
260 | text.gsub(/([^\[]|^)\[(\\?)([\#|r])(\w+)\]([^\]]|$)/) do |match| | 260 | text.gsub(/([^\[]|^)\[(\\?)([\#|r])(\w+)\]([^\]]|$)/) do |match| |
261 | prefix, escape, type, ref, suffix = $1, $2, $3, $4, $5 | 261 | prefix, escape, type, ref, suffix = $1, $2, $3, $4, $5 |
262 | case escape.blank? && type | 262 | case escape.blank? && type |
263 | when 'r' | 263 | when 'r', '' |
264 | prefix + format_internal_changeset_link(ref, options) + suffix | 264 | prefix + format_internal_changeset_link(ref, options) + suffix |
265 | when '#' | 265 | when '#' |
266 | prefix + format_internal_ticket_link(ref.to_i, options) + suffix | 266 | prefix + format_internal_ticket_link(ref.to_i, options) + suffix |


RSS feeds