Allow Twig string interpolation in renderObjectTemplate #9138
-
Well that's basically it.
into
but that results in a runtime error.
to
Did it for me. (just adding My use case for this is: we have a project where clients need to insert formulas and we made that via Twig renderObjectTemplate. Sometimes we want to debug some information in those templates via string interpolation but that's not possible and always concatenate strings via Edit |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Good idea! I’ve just added support for string interpolation for the next 3.7 Beta release (ef28fa6). Actually, we’re just ignoring anything between print tag delimiters ( |
Beta Was this translation helpful? Give feedback.
Good idea! I’ve just added support for string interpolation for the next 3.7 Beta release (ef28fa6).
Actually, we’re just ignoring anything between print tag delimiters (
{{...}}
) now. since it is always invalid to add a print tag inside another one.