cvs: peardoc / colorize.php
| From: | Martin Jansen | Date: | Sat, 29 Dec 2001 15:10:49 +0000 |
| Subject: | cvs: peardoc / colorize.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-1766@lists.php.net to get a copy of this message | ||
mj Sat Dec 29 10:10:49 2001 EDT
Modified files:
/peardoc colorize.php
Log:
* Fix bug when using =&.
Index: peardoc/colorize.php
diff -u peardoc/colorize.php:1.1 peardoc/colorize.php:1.2
--- peardoc/colorize.php:1.1 Wed Dec 26 09:18:45 2001
+++ peardoc/colorize.php Sat Dec 29 10:10:49 2001
@@ -71,8 +71,8 @@
// Replace all hard line breaks, trim and color source
list($example_found) = func_get_args();
$example = str_replace(
- array(" ", ">", "<"),
- array("\n", ">", "<"),
+ array(" ", ">", "<",
"&"),
+ array("\n", ">", "<", "&"),
$example_found[1]
);
$example = trim($example);