cvs: phd / package.xml /formats manpage.php
| From: | Rudy Nappée | Date: | Wed, 29 Oct 2008 11:20:24 +0000 |
| Subject: | cvs: phd / package.xml /formats manpage.php | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-2331@lists.php.net to get a copy of this message | ||
loudi Wed Oct 29 11:20:24 2008 UTC
Modified files:
/phd package.xml
/phd/formats manpage.php
Log:
* fixed bug #46413 Weird examples in Unix manual pages
http://cvs.php.net/viewvc.cgi/phd/package.xml?r1=1.89&r2=1.90&diff_format=u
Index: phd/package.xml
diff -u phd/package.xml:1.89 phd/package.xml:1.90
--- phd/package.xml:1.89 Sat Oct 25 23:02:30 2008
+++ phd/package.xml Wed Oct 29 11:20:24 2008
@@ -46,6 +46,7 @@
</stability>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD
Style</license>
<notes>
+ - Fixed bug #46413 Weird examples in Unix manual pages (Rudy)
- Rewrote option parsing, allows the same code to be reused for multiple scripts. (Gwynne)
- Rewrote config option access, avoids globals. (Gwynne)
- Cleaned up error handler. (Gwynne)
http://cvs.php.net/viewvc.cgi/phd/formats/manpage.php?r1=1.2&r2=1.3&diff_format=u
Index: phd/formats/manpage.php
diff -u phd/formats/manpage.php:1.2 phd/formats/manpage.php:1.3
--- phd/formats/manpage.php:1.2 Fri Jul 25 14:04:50 2008
+++ phd/formats/manpage.php Wed Oct 29 11:20:24 2008
@@ -208,7 +208,7 @@
}
public function CDATA($str) {
- return trim($str);
+ return str_replace("\\", "\\\\", trim($str)); // Replace \ with \\
after trimming
}
public function TEXT($str) {