Hi there!
I’ve the same problem! The fields haves a lot of space and this happens because every line of module is printend on the frontend into a paragraph <p>.
Broken form: https://snipboard.io/Xcrsu1.jpg
Temporary solution: https://snipboard.io/ehMJKs.jpg
Please update 🙂
Thank’s`
Thanks.
I will update it in hours where the traffic of my site is not high and it does not affect the users who use the forms.
I’ll update it and let you know how it goes.
Greetings.
Same issue here with the changed parsing of form definitions with the addition of <p> tags that are breaking layouts/etc.
Please let us know if a fix is pending so that we can decide on the best course of action for addressing this ASAP.
Adding following command to wp-config.php is quick fix
It removes all extra spacing though – so you might need some manual break <br> tags
define( ‘WPCF7_AUTOP’, false );
Solution for the form:
wp_config.php: define('WPCF7_AUTOP',false);
functions.php: add_filter('wpcf7_autop_or_not','__return_false');
Provisional solution for the HTML mail:
in line 93 the /wp-content/plugins/contact-form-7/includes/mail.php
$html = $header.wpcf7_autop($body).$footer;
CHANGE TO
$html = $header.$body.$footer;