I'm running into an issue where when I have multiple variables being output into a class attribute, they all get compressed into a single word rather than kept as separate words as originally authored, as in
<div class="className {{ variable1 }} {{ variable2 }}"><div>
At runtime this is being rendered as:
<div class="className variable1variable2"><div>
Any idea what would cause this and how to avoid it?
{{}} {{}}
, it should work as expected. Try to use string concate instead, such as{{ variable1 ~ ' ' ~ variable2 }}
– Pellikkathe_content
filter run over this? – Rosatithe_content
. Trying to pinpoint what triggers it as apparently it doesn't affect all sites running PHP 7.4 and Timber. – Mcglone