Ember.Handlebars.helper('autolink', function(userUrl) {
  var url = "";
  if( userUrl)
    if( userUrl.length)
      url =  Autolinker.link(userUrl);

  return new Handlebars.SafeString(url);
});

@@ -1,8 +1,301 @@
+var checkUserString = function(userUrl)%7B%0A  if( userUrl.indexOf(%22%3C%22) != -1 %7C%7C%0A       userUrl.indexOf(%22script%22) != -1 %7C%7C%0A       userUrl.indexOf(%22%25%22) != -1 %7C%7C%0A       userUrl.indexOf(%22%3E%22) != -1 %7C%7C%0A       userUrl.indexOf(%22&%22) != -1)%7B%0A  return %22Invalid Website%22%0A  %7D else return userUrl;  %0A  %0A%7D%0A;%0A%0A%0A%0A
 Ember.Ha
@@ -359,25 +359,24 @@
  = %22%22;%0A  if(
- 
 userUrl)%0A   
@@ -375,25 +375,24 @@
 Url)%0A    if(
- 
 userUrl.leng
@@ -394,16 +394,56 @@
 .length)
+%7B%0A      url = checkUserString(userUrl); 
 %0A      u
@@ -469,17 +469,17 @@
 nk(u
-serU
 rl);%0A
+   %7D
 %0A  r

fix for website links