I’m noticing some strange behavior with Twig that I think must be a bug. It’s hard to get anything to render properly with autoescaping turned on. All I get are error messages about “invalid escaping strategy”.
With autoescape off, and using |e
or |e('html')
it works, but only when I enter extra spaces inside the curly braces like {{author.display_name|e }}
.