Hi @simonetin,
Sorry to hear about the issues noticed.
Is it possible to share the Form export to test the form on our side and see what might be causing it?
Please check the following doc on how to export a form:
https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#import-export
In the following reply, you can share the export file via Google Drive, Dropbox, or any such cloud services.
Looking forward to your response.
Kind Regards,
Nithin
Hi,
I’ve found the problem: email editor is not able to read <style></style> anymore. So all the internal CSS becomes plain text.
Is there a way to solve it? It wasn’t like this some days ago.
Thanks.
I think this relates to one of these fixes in .7:
– Fix: Data must be Sanitised, Escaped and Validated
– Fix: Stripping HTML tags
– Fix: Sanitised Custom HTML email notifications.
Will wait and see what Forminator team say
Hi @mrbleuu @simonetin
I pinged our Frominator Team about this query. Thank you for your patience while we look into this further.
Kind Regards,
Kris
Hi @mrbleuu @simonetin
I spoke with our developers and we will not continue to support using such tags in email notifications. I pinged our SLS Team can they provide a hook for this. We will post an update here as soon as more information is available.
Kind Regards,
Kris
Hello @simonetin ,
Please try this code:
<?php
add_action(
'wp_ajax_forminator_save_builder',
function() {
add_filter(
'wp_kses_allowed_html',
function( $tags, $context ) {
$tags[ 'style' ] = array();
return $tags;
},
10,
2
);
}
);
Add this as mu-plugin. Here is how to use Must Use plugins https://wpmudev.com/docs/using-wordpress/installing-wordpress-plugins/#installing-mu-plugins
kind regards,
Kasia
Is there a way to allow multiple tags (not just style) – e.g. < LI>, < UL>, <B> and <I>
-
This reply was modified 4 years, 6 months ago by
mrbleuu.
Hi @mrbleuu
We recently implemented some validations for security in the Form so some tags will be removed.
Can you create a new ticket and we can take a closer look for you?
Per forum rules, we don’t spam the original thread starter.
Best Regards
Patrick Freitas