Fixed typo in example.
This commit is contained in:
@@ -52,7 +52,7 @@ Usage
|
|||||||
Using JMustache is very simple. Supply your template as a `String` or a
|
Using JMustache is very simple. Supply your template as a `String` or a
|
||||||
`Reader` and get back a `Template` that you can execute on any context:
|
`Reader` and get back a `Template` that you can execute on any context:
|
||||||
|
|
||||||
String text = "One, two, {{{three}}. Three sir!";
|
String text = "One, two, {{three}}. Three sir!";
|
||||||
Template tmpl = Mustache.compiler().compile(text);
|
Template tmpl = Mustache.compiler().compile(text);
|
||||||
Map<String, String> data = new HashMap<String, String>();
|
Map<String, String> data = new HashMap<String, String>();
|
||||||
data.put("three", "five");
|
data.put("three", "five");
|
||||||
|
|||||||
Reference in New Issue
Block a user