[BUGFIX] cropHTML with dash in html element
authorJakub Cernek <development@cernek.cz>
Fri, 10 Jun 2011 20:52:00 +0000 (22:52 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 28 Apr 2012 14:53:04 +0000 (16:53 +0200)
commite880be5359ca91fc4fab0475a3ec920e5ea1d9c9
tree18a2107674dd2ea305f91d2c8c1b7a0b7cd028c0
parent126fb5ea15b8b3e2f8e6153ce5206fe54750074b
[BUGFIX] cropHTML with dash in html element

Allow dash in regular expression of cropHTML function. It is needed
for recognition of W3C non-standard TYPO3 'link' element syntax.
(e.g. <link email@example.org - mail "Open email window">
email@example.org</link>)

Change-Id: I4bc8c5bfd196f80a3ee6d077ac6a760aa349486e
Fixes: #26915
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/10692
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
tests/typo3/sysext/cms/tslib/tslib_contentTest.php
typo3/sysext/cms/tslib/class.tslib_content.php