From 02478eccdbda343136d2806cc570ea11d0f7c58c Mon Sep 17 00:00:00 2001 From: quentinburley Date: Sun, 16 Oct 2016 18:18:33 +0200 Subject: [PATCH] Update README.md fix typos: unbalanced parenthesis. before: {{#names}}{{.}}{/names}} after: {{#names}}{{.}}{{/names}} --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index aaedecf..5971b01 100644 --- a/README.md +++ b/README.md @@ -317,7 +317,7 @@ members. This is particularly useful when iterating over lists. ```java Mustache.compiler().compile("{{this}}").execute("hello"); // returns: hello -Mustache.compiler().compile("{{#names}}{{this}}{/names}}").execute(new Object() { +Mustache.compiler().compile("{{#names}}{{this}}{{/names}}").execute(new Object() { List names () { return Arrays.asList("Tom", "Dick", "Harry"); } }); // result: TomDickHarry @@ -327,7 +327,7 @@ Note that you can also use the special variable `.` to mean the same thing. ```java Mustache.compiler().compile("{{.}}").execute("hello"); // returns: hello -Mustache.compiler().compile("{{#names}}{{.}}{/names}}").execute(new Object() { +Mustache.compiler().compile("{{#names}}{{.}}{{/names}}").execute(new Object() { List names () { return Arrays.asList("Tom", "Dick", "Harry"); } }); // result: TomDickHarry