URL detection leading to nested <a> tags

tehron
10 years ago

1

Automatic url detection seems to interfere with BBCode’s [ url ] in such a way that it creates links for already linked URLs again, leading to nested anchor tags.

Test: http://www.google.de

1reply
3voices
180views
1image
Luke [flabbyrabbit]
10 years ago | edited 10 years ago

0

Lets give this a try…

google <- [ url=http://www.google.com]google[/url]
google.com <- google.com
www.google.com <- www.google.com
www.google.com <- [ url]www.google.com[/url]
www.example.com <- [ url=www.google.com]www.example.com[/url]

2 replies have been removed
You must be logged in to reply to this discussion. Login
1 of 2

This site only uses cookies that are essential for the functionality of this website. Cookies are not used for tracking or marketing purposes.

By using our site, you acknowledge that you have read and understand our Privacy Policy, and Terms of Service.

Dismiss