[BUGFIX] t3lib_div: adjust substUrlsInPlainText to also work on URLs at end of sentence
authorRobert Heel <typo3.org@bobosch.de>
Mon, 6 Feb 2012 02:47:48 +0000 (03:47 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 29 Oct 2012 08:42:32 +0000 (09:42 +0100)
commit76d0b9c912deb650b76b8ce9b88f1c65cb13fe77
treee5b37c0e79d76ae21f5e4ab5b411cfa344bd02b9
parent3ff27f4f73ea98c2678961c8e944d920ba490395
[BUGFIX] t3lib_div: adjust substUrlsInPlainText to also work on URLs at end of sentence

Reworked substUrlsInPlainText by using regex.
Adding unittest.

Change-Id: Ib9b7d7990ac695cbb6fedac6bb346304a048ab10
Resolves: #28248
Releases: 4.5, 4.6, 4.7, 6.0
Reviewed-on: http://review.typo3.org/10538
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
t3lib/class.t3lib_div.php
tests/t3lib/class.t3lib_divTest.php