Basically at the moment I have:
http://link.com - plain text
I would like:
<a href="http://link.com">http://link.com</a>
Is it possible to automatically add 'a href
'?
If so how should I go about doing it?
Basically at the moment I have:
http://link.com - plain text
I would like:
<a href="http://link.com">http://link.com</a>
Is it possible to automatically add 'a href
'?
If so how should I go about doing it?
Yes, you could parse your text on load with javascript. By using the appropriate regular expression, just replace each link with the anchored link version.
text.replace(**link regular expression**, "<a href=\"$1\">$1</a>");
Note: The syntax is probably not right, but you get the idea.