Jump to content

BUG - the added links do not work


Captain Morgan

Recommended Posts

Posted

When you type the URL into your log entry, just make sure you put a space at the end of it and it will work fine. That way the "

[last" won't get fastened to the link.

 

_________________________________

Member:

banner-small.gif

Posted

We now check for URLs via regular expressions, and replace them with links. Leave a space after the end and the link will show up correctly.

 

Jeremy Irish

Groundspeak - The Language of Location

Posted

quote:
Originally posted by Captain_Morgan&Family:

OK, i'll check all the links i've added, but this is a bug anyway - or should everyone know to add a space ?


Since you've apparently fixed the problem, I'm only guessing - you had an url at the end of a sentence, which had a period direcly after it?

 

I know that a lot of software that 'looks' for URLs in text would also include that period in the active link because it would appear to be a part of that url - just as if it were any other character.

 

I wonder if it would be simple, and advisable, to somehow change the way the program looks for urls - and have it ignore characters at the end of an url if it is a comma, period, exclamation point, etc.

 

It would probably be okay, because there aren't going to be a lot of html documents that have file names that end with a period on purpose.

 

- Toe.

 

--==< Rubbertoe's Webcam, Photo Albums, and Homepage >==--

Posted

quote:
Originally posted by Rubbertoe:

Since you've apparently fixed the problem, I'm only guessing - you had an url at the end of a sentence, which had a period direcly after it?


 

No, i had the URL at the end of my text and nothing after that, no comma, no period - nothing. If you browse through logpages, you will find pretty soon some URL that does not work as it has that "

" - string at the end.

Posted

quote:
Originally posted by Jeremy Irish:

We now check for URLs via regular expressions, and replace them with links. Leave a space after the end and the link will show up correctly.


 

That might not be completely true.... please see my log on this virtual cache - not only do I have the "double name" problem, but it also throws up a weird link to the first word in a sentence that was started after a link.

 

Not only were there no characters after the url, I actually have a whole line of blank space to start the new paragraph - yet it still tried to add some sort of hotlink to that first word.

 

- Toe.

 

--==< Rubbertoe's Webcam, Photo Albums, and Homepage >==--

Posted

Actually, it looks like MANY of the urls on that page are also suffering from the problem with the extra tags and clutter. Hopefully Jeremy will check this thread again... from his comments, I think he might think that the problem is solved, and so he might not look back here again. icon_confused.gif

 

- Toe.

 

--==< Rubbertoe's Webcam, Photo Albums, and Homepage >==--

Posted

Actually, it looks like MANY of the urls on that page are also suffering from the problem with the extra tags and clutter. Hopefully Jeremy will check this thread again... from his comments, I think he might think that the problem is solved, and so he might not look back here again. icon_confused.gif

 

- Toe.

 

--==< Rubbertoe's Webcam, Photo Albums, and Homepage >==--

Posted

The formatting was apparently being done in the wrong order, such as paragraph changes before URLs were sorted out. I changed the order and the links now look correct.

 

Jeremy Irish

Groundspeak - The Language of Location

Guest
This topic is now closed to further replies.
×
×
  • Create New...