Custom Fields
Re-Envisioned
Support MB Views No support for spaces in text?

  • Creator
    Topic
  • #22218
    Resolved Henri
    Participant

    Hi Metabox,

    I’ve just created a MB view and I’m having trouble with combining text with variable values with a space in between. If you first add text and then a space followed by the variable value, it doesn’t display the space. However, when you first add the variable value and then the space followed by the text, the space is being shown. I’ve created a short screenrecording of the issue: https://share.getcloudapp.com/2NujRoA8

    Please advice, how I can solve this.

    Kind regards, Henri

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #22220
    Long Nguyen
    Moderator

    Hi,

    I’ve tried to reproduce this issue on my local site but it still works as well. The space before and after the variable always shows. You can also try to use the HTML entity of space  , just like text {{ variable }}.
    https://www.w3schools.com/html/html_entities.asp

    #22229
    Henri
    Participant

    Hi Long Nguyen,

    Thanks for checking the issue and your suggestions. I’ll take a look if I can solve it that way. I’ll also try on a clean installation first.

    Kind regards,

    Henri

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.