Navigation überspringen

[Eskaliert zur 2. Ebene] Toolset forms adding tags even if noautop is used in notifications

This support ticket is created vor 6 days, 23 hours. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Dieses Thema enthält 3 Antworten, hat 1 Stimme.

Zuletzt aktualisiert von Christopher Amirian vor 2 days, 2 hours.

Assistiert von: Christopher Amirian.

Author
Artikel
#2847552

I am trying to:
Send Toolset Forms notifications styled with beefree (basically just a cross-client compatible HTML styled email)

I expected to see:
Actually styled emails

Instead, I got:
Tons of

<p>

tags added
If using

[wpv-noautop]

to wrap whole email, tons of

< br/>

tags added where html has line breaks
If minified and using

[wpv-noautop]

, still adding

<p>

tags in the send email for example like

<![endif]--><style>*

becomes

<![endif]--></p><style>*

(without ever an opening p tag, and anyway, it should not inject random things)

In summary: you cannot send proper client compatible emails.

#2847644

Christopher Amirian
Unterstützer

Sprachen: Englisch (English )

Hello,

Welcome to Toolset support. We certainly will not be able to support all email clients, but I will be happy to check how you set the notification to test.

I created a clean installation of Toolset, and you can enter the admin here:

versteckter Link

I created a form, and you can add a notification there:

versteckter Link

Please add the simplest notification code that you can, which will show the issue, and I will test it on various email clients.

Thanks.

#2847852

I have added a notification to said form - in the unminified and unconcatenated version.
You can ask GPT to prep if for Toolset forms because it is the only tool wide and far that was able to concatenate and minify it in a way without breaking it - however, you will see that it still adds those unexpected tags, thus breaking rendering on the client side.

You do not necessarily need to send yourself an email - you can just use a mail logger WP side and look at the HTML preview for example.

Note, Toolset Forms does not (and cannot) "support all mail clients". This is why we have a notification HTML editor were we can add support for it.

Also note, this issue has been reported in past but all tickets I found have been deleted, see for example:
https://toolset.com/forums/topic/rogue-paragraphs-being-inserted-into-toolset-form/

I thought I even had reported this myself once but couldn't find the ticket anymore, so probably I imagined it.

#2848238

Christopher Amirian
Unterstützer

Sprachen: Englisch (English )

Hello and thank you for the code.

I asked the second tier support to take a look and I will get back to you as soon as I have an update.

Thanks.