Closed (fixed)
Project:
Twitter Pull
Version:
6.x-1.3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
26 Oct 2012 at 01:04 UTC
Updated:
29 Mar 2014 at 05:50 UTC
Jump to comment: Most recent
I wanted hash tags to be rendered as links which i have done, but under the twitter_pull_add_links why is the # outside the following:
$pattern = '/[#]+([A-Za-z0-9-_]+)/';
$repl = '#<a href="http://twitter.com/#!/search?q=%23$1" title="#$1" rel="nofollow">$1</a>';
$text = preg_replace($pattern, $repl, $text);
It just means that when you generate the link the # isnt clickable. any reasons to this?
Comments
Comment #1
rob3000 commented