Renaming macro ‘_’ to any string stops escaping
Notice: This thread is very old.
- Daniel
- Member | 3
Hello,
I use standalone Latte and everything work perfectly except one thing.
THIS WORKS
CoreMacros.php
In template:
Output in php:
THIS DOES NOT WORKS
I change only name of macro in CoreMacros.php
In template:
Output in php:
Renamign causes, that there is no escaping. I have no idea why.
I need two translating macros, because I have two translation sources. Thats why I try to rename macro – I want to duplicate it in future.
Many thanks for any help.
Daniel