From 0bffdc354a8eff4361b93816d29395ae2cc5b0da Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Thu, 4 Oct 2012 12:45:20 -0500 Subject: compile {{{...}}} down to {{&...}} instead of {{mark_raw ...}} shouldn't make a difference, but feels cleaner --- lib/Text/Xslate/Syntax/Handlebars.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Text/Xslate/Syntax/Handlebars.pm b/lib/Text/Xslate/Syntax/Handlebars.pm index 216e7c2..59ece35 100644 --- a/lib/Text/Xslate/Syntax/Handlebars.pm +++ b/lib/Text/Xslate/Syntax/Handlebars.pm @@ -179,7 +179,7 @@ sub preprocess { } } elsif ($type eq 'raw_code') { - $code .= qq{mark_raw $content;\n}; + $code .= qq{&$content;\n}; } else { $self->_error("Oops: Unknown token: $content ($type)"); -- cgit v1.2.3-54-g00ecf