xxgreg / mustache

Mustache template Dart library
BSD 2-Clause "Simplified" License
57 stars 59 forks source link

Escape curly brackets #25

Closed jorishermans closed 8 years ago

jorishermans commented 8 years ago

This is my implementation so that we can:

One other possibility would be to add an option to the library to change the default delimiter for the entire file:

var t = new Template(' {{ I am plain text }} [[ i_am_a_tag ]]', delimiter: '[[ ]]'); t.renderString({'i_am_tag': 'foo'});