You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<fieldset> element belongs to Forms module, which is considered unsafe. In order to allow it you have to set HTML.Trusted to true. This is how it works in original HTML Purifier (see this thread).
The drawback of switching to trusted mode is that <script> tags will be allowed (among others), so I'd recommend adding script to HTML.ForbiddenElements, like so:
Hi!
I've installed latest version of purifier and your extension via composer
The following code:
throws an error:
Element 'fieldset' is not supported (for information on implementing this, see the support forums)
I've try also another approach:
but got the same error.
I thought this extension adds support of some HTML5 tags including fieldset for HTMLPurifier. Did i missed something?
Regards, Alex
The text was updated successfully, but these errors were encountered: