Permalink
Browse files

Add a comment

  • Loading branch information...
1 parent 67b4e77 commit eb6e06dbc77400aee23b5348524dc58eaf496eea @cramforce committed Feb 11, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 public/lib/stream/streamplugins.js
@@ -316,6 +316,7 @@ require.def("stream/streamplugins",
text = text.replace(plugin.GRUBERS_URL_RE, function(url) {
var displayURL = url;
var targetURL = (/^\w+\:\//.test(url)?'':'http://') + url;
+ // Check if there is a URL entity for this. If yes, use its display and target URL.
urls.forEach(function(urlObj) {
if(urlObj.url == url) {
if(urlObj.display_url) {

0 comments on commit eb6e06d

Please sign in to comment.