Display the line breaks in user bio without using html

Question

User fills their user bio using Formidable forms.

It saves correctly and displays with line breaks in Worpdress admin on the user overview page.

It displays without line breaks on the site.

The only solution I found is to disable HTML sanitization and manually edit each profile and add

or tags which is not an ideal solution. This is not ideal as it enables all HTML plus the need for manual edits of each profile.

What I would like is to display the line breaks as they were originally entered and saved in WordPress. This would allow a simple workflow for users to add and update their profile without using HTML code.

Thanks.

0
, , , Adrian Nutiu 1 year 2020-07-15T15:10:33-05:00 0 Answers 65 views 0

Leave an answer

Browse
Browse