Home › Forums › General Issues › line breaks being lost in textarea › Reply To: line breaks being lost in textarea
The problem turned out to be that what ACF returns is the raw data for the fields in the form. The answer I went for was to go
apply_filters('acf_the_content', $usermeta['short_description'][0]);
(with the actual data having been read intp $usermeta[‘short_description’][0])
The other route seems to be to force the applying of filters as they are saved — I erred against this as I don’t know why ACF doesn’t do this by default.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.