Commit Graph
4 Commits
Author SHA1 Message Date
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
Justin Hileman 57a6aafff1 Fixed complex example to use inverted sections rather than fancy ruby-ish context swizzling (which never worked in PHP anyway). 2010-04-26 19:01:57 -04:00
Justin Hileman 26aad7b490 Complex example was a direct port of ruby/javascript complex example, resulting in some methods named with PHP reserved keywords. Fixing that oversight. 2010-04-05 23:55:29 -04:00
Justin Hileman 5e99b15252 Adding examples. 2010-03-30 14:57:18 -04:00