Permalink
Browse files

Let <rdar://#######> link to <http://openradar.appspot.com/>.

git-svn-id: http://svn.textmate.org/trunk/Bundles/TODO.tmbundle@11710 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
1 parent 3dfea9e commit a9ede5c3436d9a8a51ebc82ce9b2dfe9b006abcf @sorbits sorbits committed Jul 19, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 Support/todo.rb
View
@@ -73,8 +73,8 @@ def TextMate.file_link (file, line = 0)
:type => tag[:label]
}
if tag[:label] == "RADAR" then
- url = "rdar://" + $2
- match[:match] = html_escape($1) + "<a href=\"" + url + "\">" + html_escape(url) + "</a>" + html_escape($3)
+ url, display = "http://openradar.appspot.com/" + $2, "rdar://" + $2
+ match[:match] = html_escape($1) + "<a href=\"" + url + "\" target=\"_blank\">" + html_escape(display) + "</a>" + html_escape($3)
else
match[:match] = html_escape($1)
end

0 comments on commit a9ede5c

Please sign in to comment.