An open community 
of Macintosh users,
for Macintosh users.

FineTunedMac Dashboard widget now available! Download Here

Previous Thread
Next Thread
Print Thread
URL tags
#25222 03/02/13 07:56 AM
Joined: Aug 2009
Likes: 15
OP Online

Joined: Aug 2009
Likes: 15
UBB.threads' default behavior is to place two spaces before and after a URL, so if, as I think is natural, I leave a space after the word before a URL I wind up with three preceding and two following spaces, and I've got to waste time deleting the extras.

Is there any way to change that behavior in prefs, or is it a bug that I've just got to wait out?

Thanks.


The new Great Equalizer is the SEND button.

In Memory of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire
Re: URL tags
artie505 #25231 03/02/13 04:16 PM
Joined: Aug 2009
cyn Online
Administrator
Online
Administrator

Joined: Aug 2009
I take it you're encountering the added spaces when using the shortcut button to make a link.

I'm pretty sure the extras will get stripped out automatically when you submit the post.


FineTunedMac Forums Admin
Re: URL tags
cyn #25235 03/02/13 05:40 PM
Joined: Aug 2009
Likes: 15
OP Online

Joined: Aug 2009
Likes: 15
> I'm pretty sure the extras will get stripped out automatically when you submit the post.

Thanks, cyn, that's correct; the spaces do get stripped out, which, thinking about it, is logical, because only an option-space will get passed on following a space.

Shoulda thunk to try.


The new Great Equalizer is the SEND button.

In Memory of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire
Re: URL tags
cyn #26358 08/03/13 08:17 PM
Joined: Aug 2009
Likes: 15
OP Online

Joined: Aug 2009
Likes: 15
Nope, they don't all get stripped out.

In this instance , the trailing space remains.

Edit: The software apparently expects you to always want to follow a URL with a space, but that's not necessarily a great assumption.

Last edited by artie505; 08/04/13 06:35 AM.

The new Great Equalizer is the SEND button.

In Memory of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire
Re: URL tags
artie505 #26366 08/05/13 08:33 PM
Joined: Aug 2009
Likes: 1
Offline

Joined: Aug 2009
Likes: 1
I understand why it does that--it's surprisingly hard to write automated URL handlers in PHP, because they tend to think that punctuation is part of the URL. With most email programs, for instance, if you put a URL at the end of a sentence, the period at the end of the sentence gets incorporated into the link and it doesn't work.

Forcing a space after a URL is one way to handle that, and a lot of PHP scripts for handling URLs do that. But as you observed, it's not really a good way.


Photo gallery, all about me, and more: www.xeromag.com/franklin.html
Re: URL tags
tacit #26375 08/06/13 08:34 AM
Joined: Aug 2009
Likes: 15
OP Online

Joined: Aug 2009
Likes: 15
Thanks for clearing that up.


The new Great Equalizer is the SEND button.

In Memory of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire

Moderated by  alternaut, cyn, dkmarsh 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.4.33 Page Time: 0.026s Queries: 27 (0.022s) Memory: 0.5926 MB (Peak: 0.6628 MB) Data Comp: Zlib Server Time: 2024-04-25 04:34:17 UTC
Valid HTML 5 and Valid CSS