diff options
-rw-r--r-- | README.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/README.markdown b/README.markdown index 35f8149..fa8c344 100644 --- a/README.markdown +++ b/README.markdown @@ -45,7 +45,7 @@ embedded in them, as well as the text for a link: }); var context = { posts: [{url: "/hello-world", body: "Hello World!"}] }; - var source = "<ul>{{#posts}}<li>{{{link_to this}}}</li></ul>" + var source = "<ul>{{#posts}}<li>{{{link_to this}}}</li>{{/posts}}</ul>" var template = Handlebars.compile(source); template(context); |