Fix typos.
authorMichael M Slusarz <slusarz@curecanti.org>
Mon, 23 Feb 2009 07:23:09 +0000 (00:23 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Mon, 23 Feb 2009 07:24:21 +0000 (00:24 -0700)
framework/Text_Flowed/lib/Horde/Text/Flowed.php
framework/Text_Flowed/package.xml

index 36f6994..5f4d9af 100644 (file)
@@ -337,8 +337,8 @@ class Horde_Text_Flowed
      */
     protected function _stuff($text, $num_quotes, $toflowed)
     {
-        return ($toflowed && ($num_quotes || preg_match("/^(?: |>|From |From$)/", $text))
-            ? '' . $text
+        return ($toflowed && ($num_quotes || preg_match("/^(?: |>|From |From$)/", $text)))
+            ? ' ' . $text
             : $text;
     }
 
index 359ccbc..183876b 100644 (file)
@@ -40,10 +40,10 @@ http://pear.php.net/dtd/package-2.0.xsd">
    <dir name="lib">
     <dir name="Horde">
      <dir name="Text">
+      <file name="Flowed.php" role="php" />
      </dir> <!-- /lib/Horde/Text -->
     </dir> <!-- /lib/Horde -->
    </dir> <!-- /lib -->
-   <file name="Flowed.php" role="php" />
   </dir> <!-- / -->
  </contents>
  <dependencies>