From d1c8a665a946ef06fd66ae9a7d40a0e4b7e84b0c Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Wed, 12 Mar 2014 11:23:16 -0700 Subject: [PATCH] Also, why add a brace and then remove it? --- src/main/java/com/samskivert/mustache/Mustache.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/samskivert/mustache/Mustache.java b/src/main/java/com/samskivert/mustache/Mustache.java index 13b9b27..e9f527d 100644 --- a/src/main/java/com/samskivert/mustache/Mustache.java +++ b/src/main/java/com/samskivert/mustache/Mustache.java @@ -457,7 +457,7 @@ public class Mustache int end3 = (char)source.read(); if (end3 != '}') { throw new MustacheParseException( - "Invalid triple-mustache tag: {{{" + text.substring(1) + "}}", line); + "Invalid triple-mustache tag: {{" + text + "}}", line); } } catch (IOException e) { throw new MustacheException(e);