Remove <p><br></p> and <p>&nbsp;</p>

54 views
Skip to first unread message

Jérôme Lille

unread,
Jan 28, 2022, 5:57:54 AM1/28/22
to htmlpurifier
Hi,

When testing

<p><br>test</p>
<p><br></p>
<p></p>
<p>&nbsp;</p>
<p> </p>
<p>aaa</p>

I get

<p><br />test</p>
<p><br /></p>

<p> </p>

<p>aaa</p>

but I would like to get

<p><br />test</p>
<p>aaa</p>

Can you tell me what I need to change to make it happen?

test.jpg
Reply all
Reply to author
Forward
0 new messages