Permalink
Browse files

Fixed warnings

  • Loading branch information...
1 parent 26e32d5 commit 4cc939d6aef069d4d6cdbcc50147fcb91b56f951 @vti committed Sep 26, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/Text/Haml.pm
View
3 lib/Text/Haml.pm
@@ -11,7 +11,7 @@ use File::Spec;
use File::Basename ();
use URI::Escape ();
-our $VERSION = '0.990106';
+our $VERSION = '0.990107';
use constant CHUNK_SIZE => 4096;
@@ -346,6 +346,7 @@ sub parse {
)
{
$el->{type} = 'tag';
+ $el->{name} = '';
if ($line =~ s/^$tag_start$tag_name//) {
$el->{name} = $1;

0 comments on commit 4cc939d

Please sign in to comment.