When you put to autoLink texts, with www in the middle of url, the autoLink was adding the a tag twice... e.g: http://www.not-working-www.com
So I have changed the regex and also add some test to fix that.
improve the extract to know when there is the same string inside one …
…plural tickect #2538
fixing one problem with text helper autoLink
I not sure why the commits 39c6f10 1465b79 comes together but they are not part of the pull request...
Do you want to take another stab at making the pull request then? Generally putting each pull request on a separate branch is a good idea. You may need to rebase/make your master the same as CakePHP's master. Lastly, since this is a bugfix you should make the target branch 2.0 and not master.