Matheus Oliveira Matheus Oliveira - 1 year ago 141
Twig Question

How to add space between variables in twig template?

It's a pretty simple question, but I didn't find the answer yet.

This code:

{{ civilite }}{{ nom }}{{ prenom }}

Prints MRJOHSONBarry

I want to add space between the variables, how could I do it?

Answer Source

If {{ civilite }} {{ nom }} {{ prenom }} doesn't work...

how about

{{ civilite }} {{ nom }} {{ prenom }}?
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download