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
This kept failing and the <input type="radio" /> was lost. I eventually tracked this down to $config->set('HTML.SafeIframe', true); in the configure method.
It seems HTMLPurifier was clearing a definition instance so my call to addElement was lost.
Swapping the execution order so the configure method is called first fixed my issue.
I've got a
$classMap
extension ofHtmlPurifier
where I set some defaults in theconfigure
method. e.g.I was then trying to add a new element using the closure config,
This kept failing and the
<input type="radio" />
was lost. I eventually tracked this down to$config->set('HTML.SafeIframe', true);
in theconfigure
method.It seems
HTMLPurifier
was clearing a definition instance so my call toaddElement
was lost.Swapping the execution order so the
configure
method is called first fixed my issue.From
To
Can anyone else see an issue by swapping the order?
The text was updated successfully, but these errors were encountered: