You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{% spaceless %} does not do anything inside html tags. Have a look at the documentation.
Use the spaceless tag to remove whitespace between HTML tags, not whitespace within HTML tags or whitespace in plain text:
You can easily control/adjust whitespace to your liking using css ( white-space ). There's a nice interactive widget to play around with over at MDN Link
{{- and -}} can be used additionally to strip any whitespace inside tags.
Right, I had not enouth read the doc about {%spaceless% }
But this change has been introduce with 1490682
Sould we bring back the whitespace logic as before instead of add useless spaces which could break our javascript?
In case of JS problem, CSS is unfortunately not an option
My form :
My twig :
Result :
Instead of
But I don't understand because it's work with that: Yoopies@987e91d, even if
choice_widget_options
block is under {% spaceless %}The text was updated successfully, but these errors were encountered: