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
as all we know Latte filters are applied from left to right - except |noecape. Internaly ecaping is just a flag turning off escaping of current literal. (Hope I've found the correct source doing this.)
In documentation there is no mention the order in filters of |noescape matters.
PS: I'd like to add this note, bute there's no way how to edit Latte docs.
The text was updated successfully, but these errors were encountered:
If you don't it's just a flag, there can be misunderstanding when combine with other filters. You start thinking if comes firt translation or escaping, replace or escapint, etc. But the result is that everything goes in the left to right order and after all is noescape applied.
I must be blind. I didn't see latte folder in docs repo 😀 Thank you, I'll add this note.
Good news everyone,
as all we know Latte filters are applied from left to right - except
|noecape
. Internaly ecaping is just a flag turning off escaping of current literal. (Hope I've found the correct source doing this.)In documentation there is no mention the order in filters of
|noescape
matters.PS: I'd like to add this note, bute there's no way how to edit Latte docs.
The text was updated successfully, but these errors were encountered: