diff options
author | Jesse Luehrs <doy@tozt.net> | 2012-10-04 12:45:20 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2012-10-04 12:46:05 -0500 |
commit | 0bffdc354a8eff4361b93816d29395ae2cc5b0da (patch) | |
tree | 12d6402705735614c6dc4fdbf55076d5a560da47 /lib/Text | |
parent | 7394fbd15c11f2fd4140d949b13d9ee1f631b1b4 (diff) | |
download | text-handlebars-0bffdc354a8eff4361b93816d29395ae2cc5b0da.tar.gz text-handlebars-0bffdc354a8eff4361b93816d29395ae2cc5b0da.zip |
compile {{{...}}} down to {{&...}} instead of {{mark_raw ...}}
shouldn't make a difference, but feels cleaner
Diffstat (limited to 'lib/Text')
-rw-r--r-- | lib/Text/Xslate/Syntax/Handlebars.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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)"); |