[TYPO3-core] RFC: #14132 Regexp for automatic line breaks in Gifbuilder is incorrect

Jigal van Hemert jigal at xs4all.nl
Tue May 11 15:29:19 CEST 2010


This is a SVN patch request.


Type: Bugfix


BT reference: http://bugs.typo3.org/view.php?id=14132



Branches: trunk (4.3 too?)



Problem: the regular expression in 
t3lib_stdGraphic::getWordPairsForLineBreak() is incorrect. The dash 
character makes a range:
#([ -.,!:]+)#
of everything between 'space' and 'dot'


Solution: Move 'dash' character to the first position of the regexp. It 
will no longer cause a range to be formed.


This is close to being a no-brainer to me :-)

-- 
Jigal van Hemert
skype:jigal.van.hemert
msn: jigal at xs4all.nl
http://twitter.com/jigalvh
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 14132_trunk.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100511/4f3273f3/attachment.txt>


More information about the TYPO3-team-core mailing list