Home › Forums › General Issues › Unwanted   in text field – how to get rid of? › Reply To: Unwanted   in text field – how to get rid of?
Before you ask, just to name a few of the things I’ve tried:
Trimmed any whitespace from fields before output.
Replaced non-breaking with regular spaces.
Collapsed multiple spaces into a single space.
Removed control or invisible characters like zero-width spaces.
Cleared extra spaces between tags using regex.
But the issue remains and the root cause seems to be lying deeper within ACF. I also don’t think all these steps should be necessary in order to output clean text.
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.