hi. im trying to get the url filter to shorten long urls because long urls stick out of my forum boxes but when i turn on the feature to shorten the url it shortens the entire url instead of just the url in the text.
for example

www.longfreakingurl.com/test/drupal/ijqoweijo/doc.php

will become

www.longfreakingurl.com/test/drupal/ijq... in the text but the link will also be changed to

www.longfreakingurl.com/test/drupal/ijq... making the link broken. ive had this problem since 5.1 and it is still there in 5.2
i have the url filter at -10 so that it gets priority. if i set it to 10 to give it the least priority it will turn the url into a link but it will not shorten it.

I took a look at the code in filter.module but im not php guru and i cant find the problem. any ideas?