Welcome! » Log In » Create A New Profile

Allowing <br clear="all">

Posted by parjo 
Allowing <br clear="all">
February 07, 2013 06:56PM

Hi, long time user but first time poster.

How can I allow <br clear="all"> if my config is:

$config->set(&#039;HTML.Allowed&#039;, &#039;br[clear]&#039;);

which is not working, and HTMLPurifier change it to <p>&nbsp;</p>

Thank you very much.

Re: Allowing &lt;br clear="all"&gt;
February 07, 2013 07:12PM

That's because clear is not a real attribute. Use the CSS style instead.

Re: Allowing &lt;br clear="all"&gt;
February 08, 2013 03:40AM

Thanks for point it out.

Sorry, you do not have permission to post/reply in this forum.