Files
Mustache/examples/double_section/double_section.mustache
T
Justin Hileman 3e6b8102b7 Massive overhaul of Mustache.php's whitespace handling.
Move regex preparation into methods, use named subpatterns so the regex makes more sense. Fix the logic around eating newlines adjacent to tags. Update tests to reflect the changes.
2010-11-24 07:45:24 -05:00

7 lines
53 B
Plaintext

{{#t}}
* first
{{/t}}
* {{two}}
{{#t}}
* third
{{/t}}