Jump to content
igor

Problem with automated URL markup

Recommended Posts

The bulletin board software has problems converting text into URL links in some cases.
Specifically, it will generate a URL link with a trailing space in it if you type in a URL followed by a space and a newline.
 
For instance
http://forum.stellarisiti.com/topic/2191-measuring-pulse-width/ 
(Note how this link has a space at the end - it was typed as just a URL, which just happens to have a space after it, the software added the linking part, and did it wrong.  Whether the resulting URL works seems to depend on the web server or something.  This one does, but trying to link to a page at TI with a trailing space does not.)
 

http://www.ti.com/tool/sw-tm4c 

 

The following post in the above thread 
http://forum.stellarisiti.com/topic/2191-measuring-pulse-width/?p=8209
has a link, which was typed correctly, but which the bulletin board software converted into an invalid link by including the space after the URL as part of the URL.  (This one works because there was not a space after the URL.)
 
If you put the URL http://forum.stellarisiti.com/topic/2191-measuring-pulse-width/ in the middle of a line it correctly does not take the following space as part of the URL.
 
Are spaces ever valid parts of a URL?  The software should be smart enough to filter out things that aren't valid.

Share this post


Link to post
Share on other sites

Я случайно наткнулся на эту статью,т.к. сам люблю кальян,и мне показалось,
что статья написана позновательнои её приятно читать.
http://offeramazon.ru/maklaud

Нашёл ещё их тексты

https://h-magic.su/chosen

Что думаете вы?
Автор использует интересные фишки

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...