I use the webform to send information via Email and prior to v2.4 upgrade each line of information was single spaced.
After the upgrade the information that's sent is double spaced.

Example

Line 1

Line 2

Line 3

Line 4

Comments

quicksketch’s picture

Status: Active » Fixed

This was caused by #332629: hook_mail should set $message['body'] to an array. Apparently e-mail bodies in hook_mail() should be an array, but at the same time giving each row it's own item in the array ends up with double-spacing. Based off the other module implementations I've seen and the example in http://api.drupal.org/api/function/hook_mail/6, I've changed this so that the entire webform e-mail body is a single element in the array.

quicksketch’s picture

Title: Extra Line Between Output Fields » Extra Line Between Output Fields in E-mails
Anonymous’s picture

Thanks for your work. How do I get the fix? I noticed that the version for Drupal 6 is still 2.4

cdale’s picture

@techgy: To get the fix, you can either checkout the current 6.x branch with a command like:

cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib checkout -r DRUPAL-6--2 -d webform contributions/modules/webform

Or if you don't want to keep up to date, and don't want the CVS directories, replace 'checkout' with 'export'. Of course, you'll need a cvs client to achieve this. There's quite a few listed at http://drupal.org/handbook/cvs/clients.

Other than that, you can wait for a 2.5 release :)

cdale’s picture

Alternatively, you could use the diff here as a patch:

http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/webform/web...

quicksketch’s picture

Lastly, you could download the development version, which is updated every night with the latest code. You can get to it by visiting the main project page, clicking "View all releases", then finding the 6.x-2.x development version.

cdale’s picture

I was going to suggest that, but I couldn't find it. I'll have to look more carefully next time. :)

Anonymous’s picture

I'm willing to wait for the 2.5 release.
Can you provide an estimate as to when that release might be out?

Anonymous’s picture

I don't see any development release for this version of webform.

quicksketch’s picture

This is why I "train" users to click all the way through to find it, since most users aren't aware that dev versions are available even when they're not listed on the project page.

- Go to the project page.
- Click "View all releases".
- Find the webform 6.x-2.x-dev release in the list.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.