summaryrefslogtreecommitdiffstats
path: root/lib/Text/Handlebars/Compiler.pm
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-01-02 14:50:21 -0600
committerJesse Luehrs <doy@tozt.net>2013-01-02 14:50:21 -0600
commite84a7c1f51e84f26b0edd611c122c6ed92939261 (patch)
tree5badaa2c50e9e6decf0b73dc4b5b56871c8167d7 /lib/Text/Handlebars/Compiler.pm
parentd7857cad39d7feaff23abddf9a724041ffdf7176 (diff)
downloadtext-handlebars-e84a7c1f51e84f26b0edd611c122c6ed92939261.tar.gz
text-handlebars-e84a7c1f51e84f26b0edd611c122c6ed92939261.zip
fix .. in block helpers
Diffstat (limited to 'lib/Text/Handlebars/Compiler.pm')
-rw-r--r--lib/Text/Handlebars/Compiler.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Text/Handlebars/Compiler.pm b/lib/Text/Handlebars/Compiler.pm
index 5b99471..30aca1a 100644
--- a/lib/Text/Handlebars/Compiler.pm
+++ b/lib/Text/Handlebars/Compiler.pm
@@ -146,6 +146,7 @@ sub _generate_block {
first => $self->call(
$node,
'(make_block_helper)',
+ $self->vars,
$name->first,
$block{if}{raw_text}->clone,
($block{else}