Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
templates gets decoded twice #12
When i have utf-8 encoded data in variables but not in template,
When i have utf-8 encoded data in templates too, Text::Haml dies with:
AFAIU, problem is decoding twice: you open template file with binmode
$tmpl = decode($self->encoding, $tmpl) if $self->encoding;
$self->encoding has default value as 'utf-8', so it is trying to
I can provide a test case, script:
When i comment out line 1017 in Haml.pm, it works fine.