Index: t3lib/class.t3lib_stdgraphic.php =================================================================== --- t3lib/class.t3lib_stdgraphic.php (revision 7568) +++ t3lib/class.t3lib_stdgraphic.php (working copy) @@ -1318,7 +1318,7 @@ protected function getWordPairsForLineBreak($string) { $wordPairs = array(); - $wordsArray = preg_split('#([ -.,!:]+)#', $string, -1, PREG_SPLIT_DELIM_CAPTURE); + $wordsArray = preg_split('#([- .,!:]+)#', $string, -1, PREG_SPLIT_DELIM_CAPTURE); $wordsCount = count($wordsArray); for ($index=0; $index < $wordsCount; $index+= 2) { $wordPairs[] = $wordsArray[$index] . $wordsArray[$index + 1];