diff --git a/README.md b/README.md index 668385f..2edb2ad 100644 --- a/README.md +++ b/README.md @@ -165,7 +165,7 @@ lists. Note that you can also use the special variable `.` to mean the same thing. Mustache.compiler().compile("{{.}}").execute("hello"); // returns: hello - Mustache.compiler().compile("{{#names}}{{this}}{/names}}").execute(new Object() { + Mustache.compiler().compile("{{#names}}{{.}}{/names}}").execute(new Object() { List names () { return Arrays.asList("Tom", "Dick", "Harry"); } }); // result: TomDickHarry