Text to Link

By Kim A. Brandt Last update Feb 11, 2009 — Installed 15,957 times.

Post doesn't exist

redirect bug

in
Subscribe to redirect bug 4 posts, 2 voices



anonymous_user User

Sometimes a link will send you to another page (or a text file) and when you try to go back it will go to the url and you get in a loop.

One example is the changelog link found on this page: http://www.twotoasts.de/index.php?/pages/midori...

Screenshot: http://img18.picoodle.com/img/img18/3/1/20/f_20...

I found the problem was caused by this script.

 
Kim A. Brandt Script's Author

I am not sure if this only happens with Firefox 3 (wyciwyg-scheme [http://en.wikipedia.org/wiki/WYCIWYG]) or also with older versions of Firefox!? I will see what can be done. In the meantime you could use the `Recent pages' drop-down and skip the text-document which would otherwise be re-linkified, what you described as `looping', or you could remove/comment out the part in the source of the script which creates links in text documents.

 
anonymous_user User

Thanks for the fix :)

 
Kim A. Brandt Script's Author

Oh right, I didn't really fix anything yet. I just saw the `false positive' in your example and added some rules to the regexp. Just visit any other text document with links in it. It still does what you described.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel