fhd / clostache

{{ mustache }} for Clojure
GNU Lesser General Public License v3.0
318 stars 62 forks source link

Add failing test for dotted access inside section (should this work?) #32

Open maio opened 11 years ago

maio commented 11 years ago

Fails (prints nothing): {{#photos}} {{thumb.src}} {{/photos}}

Works (prints photo's thumb's src): {{#photos}} {{#thumb}}{{src}}{{/thumb}} {{/photos}}

First example should work same as second one, but it fails.

fhd commented 11 years ago

Yeah, that's quite definitely a bug. Seems like it slipped through the spec tests.