cvs: pear /Structures_DataGrid/tools/manual-gen parse-options.php
| From: | Mark Wiesemann | Date: | Sat, 11 Nov 2006 15:56:36 +0000 |
| Subject: | cvs: pear /Structures_DataGrid/tools/manual-gen parse-options.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-43041@lists.php.net to get a copy of this message | ||
wiesemann Sat Nov 11 15:56:36 2006 UTC
Modified files:
/pear/Structures_DataGrid/tools/manual-gen parse-options.php
Log:
- remove unneeded four spaces intendation for example code
http://cvs.php.net/viewvc.cgi/pear/Structures_DataGrid/tools/manual-gen/parse-options.php?r1=1.8&r2=1.9&diff_format=u
Index: pear/Structures_DataGrid/tools/manual-gen/parse-options.php
diff -u pear/Structures_DataGrid/tools/manual-gen/parse-options.php:1.8
pear/Structures_DataGrid/tools/manual-gen/parse-options.php:1.9
--- pear/Structures_DataGrid/tools/manual-gen/parse-options.php:1.8 Thu Sep 21 12:31:54 2006
+++ pear/Structures_DataGrid/tools/manual-gen/parse-options.php Sat Nov 11 15:56:36 2006
@@ -363,7 +363,10 @@
if (!$codeTagOpen && $row == '') {
$notes .= " </para>\n <para>";
}
- $notes .= ' ' . $row . "\n";
+ if (!$codeTagOpen || strpos($row, '<code>') !== false) {
+ $notes .= ' ';
+ }
+ $notes .= $row . "\n";
}
$notes = htmlentities(trim($notes));