pa2a.org


Share Thread:  
URLs and parentheses
#1
On several occasions, I've tried to include a link within a set of parentheses (http://example.html).

In each case, the closing parentheses and period are included in the "hot" link, which causes the link to be broken. If I put a space in before the parentheses and period, it works as expected.
Reply
#2
And of course, in my example here, things works as their supposed to.Undecided
Reply
#3
Use the BB Code and you won't have any issues.

Code:
[url=http://whatever.com]Text that becomes hyperlink to whatever.com[/url]
When they come for my guns; It is not my right, at that point,
but my responsibility to respond in the name of liberty.
[Image: sig.jpg]
Reply
#4
The script that's parsing the URL's to automatically hyperlink them is probably looking for common extensions to know when the link ends. Not all URL's end in HTML, JPG and the like, some end with numbers or letters so in those cases it's looking for a space to indicate the end of the URL. When you put the ). at the end and then space or carriage return it interprets that as the end of the URL.
Reply
#5
streaker69;33724 Wrote:The script that's parsing the URL's to automatically hyperlink them is probably looking for common extensions to know when the link ends. Not all URL's end in HTML, JPG and the like, some end with numbers or letters so in those cases it's looking for a space to indicate the end of the URL. When you put the ). at the end and then space or carriage return it interprets that as the end of the URL.

That makes sense, though AFAIK, all the links I've used have been generic .com addresses. I guess I'll just add the space, because it's too much extra trouble to use tags when I'm not trying to link some specific related text to a hyperlink. In my case, I just want to (quickly) provide the applicable link.
Reply








Users browsing this thread: 1 Guest(s)

Software by MyBB, © 2002-2015 MyBB Group.
Template by Modogodo Design.