]> git.cworth.org Git - sup/commitdiff
bugfix: split headers were broken in previous version
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Thu, 8 Feb 2007 21:28:19 +0000 (21:28 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Thu, 8 Feb 2007 21:28:19 +0000 (21:28 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@307 5c8cc53c-5e98-4d25-b20a-d8db53a31250

lib/sup/mbox.rb

index 5b346ef5c1b0725b149b106f098f07057b2324b9..a4f50462416de8703770ca5629b9bfdb7fb0a6d6 100644 (file)
@@ -38,7 +38,7 @@ module MBox
       when /^$/: break
       when /:/: last = nil
       else
-        header[last] += line.chomp.gsub(/^\s+/, "") if last
+        header[last] += " " + line.chomp.gsub(/^\s+/, "") if last
       end
     end
     header