Closed Megafry closed 2 months ago
That's a tricky one indeed, as we use the WYSIWYG editor to insert those variables, which will create paragraph tags around any elements, whether it be text, links or these variable tags.
Fixed for the next release. To get this early, run composer require verbb/formie:"dev-craft-4 as 2.1.9"
.
Fixed in 2.1.10
Describe the bug
The variables
All Form Fields
orAll Visible Fields
are placed in a p-tag, but the field templates already come with their own p-tags. Repeat/Group fields generate tables.Therefore the HTML generated is not valid.
This creates issues in Outlook and other mail clients.
Fix: The best solution would be to remove the p tag that wraps the variable. But only for
All Form Fields
,All Non Empty Fields
andAll Visible Fields
.Steps to reproduce
All Form Fields
Form settings
Craft CMS version
4.8.6
Plugin version
2.1.9
Multi-site?
No
Additional context
No response