cvs: phpdoc /scripts html_syntax.php
| From: | Mehdi Achour | Date: | Sun, 24 Jun 2007 11:57:28 +0000 |
| Subject: | cvs: phpdoc /scripts html_syntax.php | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969376834@lists.php.net to get a copy of this message | ||
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_:-]*)>/',