hogan-express icon indicating copy to clipboard operation
hogan-express copied to clipboard

Error with custom yield tags and mustache delimeter change

Open pablote opened this issue 11 years ago • 1 comments

If you change the mustache delimeter from {{ }} to {{{ }}} the final html contains additional characters when using custom yield tags. If changed to something like [[ ]] it simply doesn't work.

https://s3.amazonaws.com/pablobackup/hogan-express.jpg

The reason to change delimeter is to support client side libs, like angular, which also use {{ }} for templating purposes.

Here's an example project: https://s3.amazonaws.com/pablobackup/testHoganExpress.tar.gz

pablote avatar Nov 17 '13 19:11 pablote

Sorry, but custom delimiter is not supported in current version. :(

vol4ok avatar Dec 11 '13 04:12 vol4ok