jQuery.fn.autolink = function () {
	return this.each( function(){
		var re = /((http|https|ftp):\/\/[\w?=&.\/-;#~%-]+(?![\w\s?&.\/;#~%"=-]*>))/g;
		$(this).html( $(this).html().replace(re, '<a target=_blank href="$1">$1</a> ') );
	});
}


$(function (){
    $('.tweet-text').autolink();
})
