diff options
Diffstat (limited to 'README.markdown')
-rw-r--r-- | README.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/README.markdown b/README.markdown index fa8c344..3cee789 100644 --- a/README.markdown +++ b/README.markdown @@ -102,7 +102,7 @@ instance: }); var context = { posts: [{url: "/hello-world", body: "Hello World!"}] }; - var source = '<ul>{{#posts}}<li>{{{link_to "Post" this}}}</li></ul>' + var source = '<ul>{{#posts}}<li>{{{link_to "Post" this}}}</li>{{/posts}}</ul>' var template = Handlebars.compile(source); template(context); |