cvs: phpdoc /chm common.php
| From: | Moriyoshi Koizumi | Date: | Mon, 12 May 2003 16:14:31 +0000 |
| Subject: | cvs: phpdoc /chm common.php | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969353391@lists.php.net to get a copy of this message | ||
moriyoshi Mon May 12 12:14:31 2003 EDT
Modified files:
/phpdoc/chm common.php
Log:
A slight correction
Index: phpdoc/chm/common.php
diff -u phpdoc/chm/common.php:1.2 phpdoc/chm/common.php:1.3
--- phpdoc/chm/common.php:1.2 Sun May 11 22:46:12 2003
+++ phpdoc/chm/common.php Mon May 12 12:14:31 2003
@@ -23,7 +23,7 @@
global $INTERNAL_CHARSET;
if ($only_tags) {
- $buf = preg_replace("/<([a-zA-Z]+)(>|[^>]*>)>/Ue",
"preg_replace('/[\r\n]{1,2}/U', ' ', \"<\$1 \$2\")",
file_get_contents($filename));
+ $buf = preg_replace("/<([a-zA-Z1-9]+)(>|[^a-zA-Z1-9][^>]*>)/Ue",
"preg_replace('/[\r\n]{1,2}/U', ' ', \"<\$1 \$2\")",
file_get_contents($filename));
} else {
$buf = preg_replace("/[\r|\n]{1,2}/U", " ",
file_get_contents($filename));
}