[Scummvm-cvs-logs] SF.net SVN: scummvm:[46221] web/trunk/include/XMLParser.php

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Mon Nov 30 17:27:24 CET 2009


Revision: 46221
          http://scummvm.svn.sourceforge.net/scummvm/?rev=46221&view=rev
Author:   m_kiewitz
Date:     2009-11-30 16:27:23 +0000 (Mon, 30 Nov 2009)

Log Message:
-----------
Revert previous XMLParser change (Scaron)

Modified Paths:
--------------
    web/trunk/include/XMLParser.php

Modified: web/trunk/include/XMLParser.php
===================================================================
--- web/trunk/include/XMLParser.php	2009-11-30 16:22:27 UTC (rev 46220)
+++ web/trunk/include/XMLParser.php	2009-11-30 16:27:23 UTC (rev 46221)
@@ -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)([a-z]+)|(#\d+)|(Scaron));)/iU';
+		$pattern = '/(&(?:(?!quot|amp|apos|lt|gt)([a-z]+)|(#\d+));)/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