logo       
Google Custom Search
    AddThis Social Bookmark Button

cvs: pear-core /PEAR/PackageFile/Parser v2.php: msg#00226

Subject: cvs: pear-core /PEAR/PackageFile/Parser v2.php
cellog          Fri Sep 23 01:59:46 2005 EDT

  Modified files:              
    /pear-core/PEAR/PackageFile/Parser  v2.php 
  Log:
  add trim() around _unIndent()
  
http://cvs.php.net/diff.php/pear-core/PEAR/PackageFile/Parser/v2.php?r1=1.15&r2=1.16&ty=u
Index: pear-core/PEAR/PackageFile/Parser/v2.php
diff -u pear-core/PEAR/PackageFile/Parser/v2.php:1.15 
pear-core/PEAR/PackageFile/Parser/v2.php:1.16
--- pear-core/PEAR/PackageFile/Parser/v2.php:1.15       Thu Sep 22 22:27:30 2005
+++ pear-core/PEAR/PackageFile/Parser/v2.php    Fri Sep 23 01:59:46 2005
@@ -15,7 +15,7 @@
  * @author     Greg Beaver <cellog@xxxxxxx>
  * @copyright  1997-2005 The PHP Group
  * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
- * @version    CVS: $Id: v2.php,v 1.15 2005/09/23 02:27:30 cellog Exp $
+ * @version    CVS: $Id: v2.php,v 1.16 2005/09/23 05:59:46 cellog Exp $
  * @link       http://pear.php.net/package/PEAR
  * @since      File available since Release 1.4.0a1
  */
@@ -84,7 +84,7 @@
     function postProcess($data, $element)
     {
         if ($element == 'notes') {
-            return $this->_unIndent($data);
+            return trim($this->_unIndent($data));
         }
         return trim($data);
     }




Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>