Medium Editor <br> tags

Wondering if there is any work around to Medium Editor fields that have not been used on form submissions sending stray <br> tag in the form submission.

I would not mind stopping them before they insert to database, or getting rid of them later on client side when retrieving the results back.

The reason I am having a problem with this is that the stray <br> tag means that i can not add a condition saying if it’s empty do not display it, because it is never empty. I can not use a replace filter for it either because then real <br> tags are replaced when on the rare occasion the user has entered real data in that field.

Community Page
Last updated: