[Scummvm-cvs-logs] SF.net SVN: scummvm:[46219] web/trunk/include/XMLParser.php
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Mon Nov 30 16:35:02 CET 2009
Revision: 46219
http://scummvm.svn.sourceforge.net/scummvm/?rev=46219&view=rev
Author: m_kiewitz
Date: 2009-11-30 15:35:02 +0000 (Mon, 30 Nov 2009)
Log Message:
-----------
Scaron now finally fixed
Modified Paths:
--------------
web/trunk/include/XMLParser.php
Modified: web/trunk/include/XMLParser.php
===================================================================
--- web/trunk/include/XMLParser.php 2009-11-30 15:22:28 UTC (rev 46218)
+++ web/trunk/include/XMLParser.php 2009-11-30 15:35:02 UTC (rev 46219)
@@ -95,7 +95,7 @@
* Workaround the XML-parser not being able to handle HTML-entities by
* encapsulating them as CDATA.
*/
- $pattern = '/(&(?:(?!quot|amp|apos|lt|gt|Scaron)([a-z]+)|(#\d+));)/iU';
+ $pattern = '/(&(?:(?!quot|amp|apos|lt|gt)([a-z]+)|(#\d+)|(Scaron));)/iU';
$replace = '<![CDATA[\\1]]>';
$xml = preg_replace($pattern, $replace, $xml);
/* Parse the data and free the parser resource. */
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