Hi!
I found one nasty (but not critical) bug in Webform version 6.x-2.4 (..it is strange that nobody reported / noticed it yet..)
So, as I can tell, there is problem somewhere in theme_webform_mail_fields function.
What is happening?
I have two Drupal fresh sites (for testing) on same server, with also fresh installations of Webform modules. There is one simple webform with only one textarea field.
Webform input was:
Bye,
--
m.m
E-mail output was:
Test webform @ version 6.x-2.3:
Submitted on 01/29/2009 - 14:46
Submitted by user: admin [213.191.128.133]
Submitted values are
Test textarea field: Bye,
--
m.m
The results of this submission may be viewed at:
http://lin6test.iskon.hr/lightbox2-1-8/node/2/submission/1
Test webform @ version 6.x-2.4:
Submitted on 01/29/2009 - 14:47
Submitted by user: admin [213.191.128.133]
Submitted values are Test textarea field: Bye,
--
m.m
The results of this submission may be viewed
at:http://lin6test.iskon.hr/lightbox2-1-9/node/2/submission/1
As you can see, in new version there is too much new lines. Even lines from webform-mail.tpl.php
file have new line between them -> meaning that if you make separate webform-mail-nid.tpl.php
template files, you will have BIG troubles with new lines too. :(
Please, is it possible that somebody with little more experience in PHP can take a look at before mentioned function (theme_webform_mail_fields function @ webform.module @ line 1981)?
If it is needed, I can provide (via PM) administrator username and password for test sites.
Tnx in advance.
Comments
Comment #1
quicksketchPlease search before submitting issues. #360266: Extra Line Between Output Fields in E-mails
Comment #2
mariomaric CreditAttribution: mariomaric commentedSorry, mea culpa.
Usualy I do regular search, this time (why, oooh why?!?) I was only browsing (obviously inaccurately) View all issues list. :(
Will never do that again. :)