how to wpautop keep <br> in wordpress comment?

I want to remove the auto <p> and </p> inside my comment in wordpress.

I can use

Read More
remove_filter( 'comment_text', 'wpautop', 30 );

But it also remove the <br> 🙁

What is the correct way to keep the <br> to not being removed?

Thank you for any help.

Related posts

Leave a Reply

1 comment