Nice module. If I knew how to create a patch, I would, but here's the small change that's needed:
To avoid replacing text in existing links, one line in alinks.module looks like this:
preg_match_all('/\<a\s.*?\>(.*?)\<\/a\>/', $body, $linka);
Please make this case-insensitive, as follows (added the "i" at the end of the regex):
preg_match_all('/\<a\s.*?\>(.*?)\<\/a\>/i', $body, $linka);
That way, links that look like this <A ...>...</A> are also skipped during replacement.
Thanks.
Comments
Comment #1
greg boggsFixed in 7.x dev
Comment #2
greg boggs