Skip to content

Commit

Permalink
Fixed issue: Certain French characters garbled in statistics display …
Browse files Browse the repository at this point in the history
…and other areas
  • Loading branch information
c-schmitz committed Apr 4, 2012
1 parent 9c332be commit 2aaecf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/common_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -4347,7 +4347,7 @@ function flattenText($sTextToFlatten, $keepSpan=false, $bDecodeHTMLEntities=fals
$sNicetext = strip_tags($sNicetext);
}
if ($bStripNewLines ){ // strip new lines
$sNicetext = preg_replace(array('~\Ru~','/\s{2,}/'),array(' ',' '), $sNicetext);
$sNicetext = preg_replace(array('~\Ru~'),array(' '), $sNicetext);
}
else // unify newlines to \r\n
{
Expand Down

0 comments on commit 2aaecf0

Please sign in to comment.