Support

Account

Home Forums General Issues Unwanted &nbsp in text field – how to get rid of? Reply To: Unwanted &nbsp 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.