Skip to content

Commit

Permalink
WEB: Do not process Russian characters
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Jan 16, 2016
1 parent c75bf15 commit 628ee9c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions include/Controller.php
Expand Up @@ -98,11 +98,6 @@ public function outputFilter($string, &$smarty) {
/* Properly encode all ampersands as "&". */
$string = preg_replace('/&(?!([a-z]+|(#\d+));)/i', '&', $string);
/* Replace weird characters that appears in some of the data. */
$string = str_replace(
array(chr(160), chr(194)),
array(' ', ''),
$string
);
return $string;
}

Expand Down

0 comments on commit 628ee9c

Please sign in to comment.