Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
quicksketchThis 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.
Comment #2
quicksketchComment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedThanks for your work. How do I get the fix? I noticed that the version for Drupal 6 is still 2.4
Comment #4
cdale CreditAttribution: cdale commented@techgy: To get the fix, you can either checkout the current 6.x branch with a command like:
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 :)
Comment #5
cdale CreditAttribution: cdale commentedAlternatively, you could use the diff here as a patch:
http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/webform/web...
Comment #6
quicksketchLastly, 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.
Comment #7
cdale CreditAttribution: cdale commentedI was going to suggest that, but I couldn't find it. I'll have to look more carefully next time. :)
Comment #8
Anonymous (not verified) CreditAttribution: Anonymous commentedI'm willing to wait for the 2.5 release.
Can you provide an estimate as to when that release might be out?
Comment #9
Anonymous (not verified) CreditAttribution: Anonymous commentedI don't see any development release for this version of webform.
Comment #10
quicksketchThis 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.