[Scummvm-cvs-logs] SF.net SVN: scummvm:[46220] web/trunk/include/Controller.php
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Mon Nov 30 17:22:27 CET 2009
Revision: 46220
http://scummvm.svn.sourceforge.net/scummvm/?rev=46220&view=rev
Author: m_kiewitz
Date: 2009-11-30 16:22:27 +0000 (Mon, 30 Nov 2009)
Log Message:
-----------
Another change for Š fix
Modified Paths:
--------------
web/trunk/include/Controller.php
Modified: web/trunk/include/Controller.php
===================================================================
--- web/trunk/include/Controller.php 2009-11-30 15:35:02 UTC (rev 46219)
+++ web/trunk/include/Controller.php 2009-11-30 16:22:27 UTC (rev 46220)
@@ -73,11 +73,11 @@
/** Smarty outputfilter, run just before displaying. */
public function outputFilter($string, &$smarty) {
/* Properly encode all ampersands as "&". */
- $string = preg_replace('/&(?!([a-z]+|(#\d+));)/', '&', $string);
+ $string = preg_replace('/&(?!([a-z]+|(#\d+)|(Scaron));)/', '&', $string);
/* Replace weird characters that appears in some of the data. */
$string = str_replace(
- array(chr(160), chr(194)),
- array(' ', ''),
+ array(chr(160), chr(194)),
+ array(' ', ''),
$string
);
return $string;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list