luya icon indicating copy to clipboard operation
luya copied to clipboard

Placeholder variablenames containing hyphen cause no content

Open pingvoid opened this issue 11 years ago • 1 comments

I had created a CMS-layout and used the { placeholders.wide-content } variable. In the admin view, everything was displayed correctly but there was no output at the frontend.

pingvoid avatar Nov 20 '15 13:11 pingvoid

@hwernze hyphens are not allowed in twig http://stackoverflow.com/a/16408628

i will throw an exception on import when hyphens are used as variable names

nadar avatar Nov 23 '15 14:11 nadar