diff options
author | Tristan Sloughter <t@crashfast.com> | 2015-05-05 09:20:06 -0500 |
---|---|---|
committer | Tristan Sloughter <t@crashfast.com> | 2015-05-05 09:20:06 -0500 |
commit | a6bd9be2a2d17ca32fc8f323be2bfaf3f514a5f4 (patch) | |
tree | 5d636e934517b42df70dcbc73d46f184bc751701 | |
parent | aa7a272aaefddeae04b875328971c6e30e4dfade (diff) |
fix }}} bug in mustache
-rw-r--r-- | src/rebar_mustache.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_mustache.erl b/src/rebar_mustache.erl index 9016c0f..3fc21b5 100644 --- a/src/rebar_mustache.erl +++ b/src/rebar_mustache.erl @@ -84,7 +84,7 @@ render(Mod, CompiledTemplate, Ctx) -> pre_compile(T, State) -> SectionRE = "\{\{\#([^\}]*)}}\s*(.+?){{\/\\1\}\}\s*", {ok, CompiledSectionRE} = re:compile(SectionRE, [dotall]), - TagRE = "\{\{(#|=|!|<|>|\{)?(.+?)\\1?\}\}+", + TagRE = "\{\{(#|=|!|<|>|\{)?(.+?)\\1?\}\}", {ok, CompiledTagRE} = re:compile(TagRE, [dotall]), State2 = State#mstate{section_re = CompiledSectionRE, tag_re = CompiledTagRE}, "fun(Ctx) -> " ++ |