Twitter has always included trailing parens in links (even though, it seems more often than not they're not supposed to be). On the bright side, bit.ly ignores them so you still get the originally intended link.
I'm pretty sure trailing square brackets are ignored - anyone know for sure?
Thanks for catching that. I've changed the code to use square brackets instead of close parens.
It's doing it on the square brackets too. =) It's not a huge deal; as another person replied to me, bitly seems to ignore them and get you where you're going.