Home › Forums › General Issues › Unwanted   in text field – how to get rid of? › Reply To: Unwanted   in text field – how to get rid of?
I’m having the same issue.
In my case this is only happening with nested repeaters/groups, specifically:
– Repeater
– Group
– Repeater
– Text [has whitespace issues]
In other cases with the same setup, this isn’t happening, e.g,:
– Repeater
– Text [no issues here]
Any updates on this? I have tried for several days now, did lots of research, double-checked the source, looked for copy & paste errors, tried to sanitize this in every way you could possibly think of, but nothing can seem to fix it.
First of all, the #Text nodes aren’t being wrapped inside their parent element correctly, which I’ve seen before, and which might even be common. I was able to fix that, however, there are still spaces around the actual text–a regular leading whitespace and a non-breaking trailing whitespace.
Example:
<a href=""> Hello There </a>
Before the fix it was actually not even wrapped and looked like this:
<a href=""></a>
Hello There
I’m fairly certain everything is set up correctly and that the source material is clean too. Also, everything is working fine elsewhere. This is only happening when repeaters/groups are nested (twice?). Is there something that I am missing? Are there any known solution to this?
Thanks much.
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.