Skip to content

Commit

Permalink
Committing changes that were make to trunk within Spine::Data but in …
Browse files Browse the repository at this point in the history
…2.2-devel the methods have moved to Spine::Plugin::Templates, this commit is required ready to issue full merge of of this plugin.

Currently the pureTT parse items can not me merged as they don't translate cleanly into parselets. c_lame_keys is also not merged as a warning already exists in this code.
  • Loading branch information
richard committed Nov 20, 2009
1 parent e9bcee2 commit 454370f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Spine/Plugin/Templates.pm
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ our (@TEMPLATES, @IGNORE, $TMPDIR);
sub _convert_to_TT {
my $data = shift;
my $legacy = 0;
while ( $data->{obj} =~ m/(\[%(\s*)(IF|MATCH|ELSIF)\s+(.+?)%\])/sog ) {
while ( $data->{obj} =~ m/(\[%(\s*)(IF|MATCH|ELSIF)\s+(.+?)%\])/sg ) {
my $new_pos = pos($data->{obj}); # This is the pos of the end of match
my $data_length = length($1);

Expand Down

0 comments on commit 454370f

Please sign in to comment.