[Scummvm-cvs-logs] SF.net SVN: scummvm:[46222] web/trunk/include/Controller.php
wjpalenstijn at users.sourceforge.net
wjpalenstijn at users.sourceforge.net
Mon Nov 30 17:29:42 CET 2009
Revision: 46222
http://scummvm.svn.sourceforge.net/scummvm/?rev=46222&view=rev
Author: wjpalenstijn
Date: 2009-11-30 16:29:42 +0000 (Mon, 30 Nov 2009)
Log Message:
-----------
Cleanup (make entity detection case-insensitive)
Modified Paths:
--------------
web/trunk/include/Controller.php
Modified: web/trunk/include/Controller.php
===================================================================
--- web/trunk/include/Controller.php 2009-11-30 16:27:23 UTC (rev 46221)
+++ web/trunk/include/Controller.php 2009-11-30 16:29:42 UTC (rev 46222)
@@ -73,7 +73,7 @@
/** Smarty outputfilter, run just before displaying. */
public function outputFilter($string, &$smarty) {
/* Properly encode all ampersands as "&". */
- $string = preg_replace('/&(?!([a-z]+|(#\d+)|(Scaron));)/', '&', $string);
+ $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)),
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