MyBB Community Forums

Full Version: [B] Links at the end of the sentence include the Period in the link
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I didn't see this one posted anywhere.

When you add a link at the end of a sentence, it's normal to place a period at the end of the sentence. If you don't add a space after the link before placing the period (which is not intuitive), mybb will treat the period as part of the link. When you click on the link, the target cannot be found.
A similar thread: http://community.mybboard.net/thread-49740.html

It's a limitation of the parser, unfortunately, and this won't be fixed - it will simply mean too many problems for us if we do fix it. Examples:

I'll be going to http://www.google.com.
I'll be going to http://www.google.com/.
I'll be going to http://www.google.com/.

So, to sum up, the first and last example both parse correctly. It's only when a URL has a trailing slash that the problem occurs. To resolve it, simply place [url] tags around it:

I'll be going to [url]http://www.google.com/[/url].
Thanks, sir. Much appreciated.