** Changed in: loco-directory
Status: New => Triaged
** Changed in: loco-directory
Importance: Undecided => Wishlist
--
Urls are not clickable ie converted to <a href="">
https://bugs.launchpad.net/bugs/656191
You received this bug notification because you are a member of loco-
directory-dev, which is the registrant for loco-directory.
Status in LoCo Directory: Triaged
Bug description:
Pages like http://loco.ubuntu.com/events/team/374/detail/ that contain urls it
is very hard (in the web2.0 world) to explain why users can't click on the urls.
Seems like a simple fix would be do do
import re
myString = "This is my tweet check it out http://tinyurl.com/blah"
r = re.compile(r"(http://[^ ]+)")
print r.sub(r'<a href="\1">\1</a>', myString)
>From
>http://stackoverflow.com/questions/720113/find-hyperlinks-in-text-using-python-twitter-related
Just before displaying the text (after it has been escaped for other
injections)
Seems easy to implement and only a minor view change so we can remove it at any
point.
_______________________________________________
Mailing list: https://launchpad.net/~loco-directory-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~loco-directory-dev
More help : https://help.launchpad.net/ListHelp