-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Description
hi @pwkip,
today a user of the wp forum made me discover that if you put a empty line before the row with [/group] in the cf7 mail template some non-validable code will be outputted.
cf7 mail template test:
[group g]
<span>yomama</span>
[/group]
[submit "submit"]
will return:
<div data-id="g" data-orig_data_id="g" data-class="wpcf7cf_group">
<span>yomama</span></p>
</div>
<p><input type="submit" value="submit" class="wpcf7-form-control wpcf7-submit" /></p>
Not critical but this makes my plugin buggy because I use DOMDocument() to parse the form and unclosed tags are not allowed. So please fix :P
(wp 5.8 - cf7 5.4.2 - cf7cf 2.0.4)
Metadata
Metadata
Assignees
Labels
No labels