didou           Sun Jun 24 11:57:28 2007 UTC

  Modified files:              
    /phpdoc/scripts     html_syntax.php 
  Log:
  Fix #40966: xml highlighting bug
  
http://cvs.php.net/viewvc.cgi/phpdoc/scripts/html_syntax.php?r1=1.15&r2=1.16&diff_format=u
Index: phpdoc/scripts/html_syntax.php
diff -u phpdoc/scripts/html_syntax.php:1.15 phpdoc/scripts/html_syntax.php:1.16
--- phpdoc/scripts/html_syntax.php:1.15 Tue Feb 20 21:17:39 2007
+++ phpdoc/scripts/html_syntax.php      Sun Jun 24 11:57:28 2007
@@ -50,7 +50,7 @@
         $source = trim(htmlentities($matches[1]));
 
         $match = array(
-            '/(\w+)=("|"|\')(.*?)("|"|\')/',
+            '/(\w+)=("|\')(.*?)(\2)/',
             '/!DOCTYPE (\w+) (\w+) ("|\'|")(.*?)("|\'|")/',
             '/<([a-zA-Z_][a-zA-Z0-9_:-]*)/',
             '/<\/([a-zA-Z_][a-zA-Z0-9_:-]*)>/',

Reply via email to