Annoying Java.Blogs Bug

Hopefully some of you are coming to this page from the daily Java.Blogs update e-mail that shows up in your inbox every night.  And maybe someone that maintains the site will see this and figure out why this bug happens.

On entries where the name of the blog is a domain name (i.e. dzone.com) the anchor tag terminator for the link to the blog entry does not terminate at the end of the link but rather it continues to consume the domain name of the blog as well which means the only way to get to the link is to copy paste it into my browser window.  Annoying!

Basically you get something like this:

<a href=”http://www.javablogs.com/Jump.action?id=123456″>http://www.javablogs.com/Jump.<wbr>action?id=123456<br>dzone.com</a&gt;

when you really should get the </a> tag after the ID number and not the domain name.  Like I said, though, it’s fine if the blog’s name is not a domain name.  Can one of you guys fix this??  🙂

Also, when looking at the source for this problem I came across the <wbr> tag.  I spend a lot of time on the front end these days I can honestly say I’ve never seen that tag before but lo and behold it is real:  http://www.quirksmode.org/oddsandends/wbr.html.  I guess I learned something new today.

Sending obscure HTML in an e-mail is probably not the best idea anyways.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s