Skip to content

Commit

Permalink
Let <rdar://#######> link to <http://openradar.appspot.com/>.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.textmate.org/trunk/Bundles/TODO.tmbundle@11710 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information
sorbits committed Jul 19, 2009
1 parent 3dfea9e commit a9ede5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Support/todo.rb
Expand Up @@ -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
Expand Down

0 comments on commit a9ede5c

Please sign in to comment.