Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[Ratel] '[%=' -> '[% print ' sugar

  • Loading branch information...
commit c9f4282136716cf34087f998edef47abf428515b 1 parent 061b062
@masak authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/Ratel.pm
View
1  lib/Ratel.pm
@@ -11,6 +11,7 @@ class Ratel {
my $index = 0;
$!source = $text;
my $source = "%]$text[%";
+ $source.=subst('[%=', '[% print ', :g);
@!hunks = $source.comb(/'%]' (.*?) '[%'/);
$!compiled
= $source.subst(/(['%]' | ^ ] .*? [ $ | '[%' ])/,
Please sign in to comment.
Something went wrong with that request. Please try again.