From: Marius Gavrilescu Date: Tue, 3 Sep 2013 07:42:23 +0000 (+0300) Subject: Update the default format X-Git-Tag: 0.003~3 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=0a4b389c44bea7500b77bb1d50f61bbae93c89c2;p=app-musicexpo.git Update the default format --- diff --git a/lib/App/MusicExpo.pm b/lib/App/MusicExpo.pm index 2348961..9dc2d3d 100644 --- a/lib/App/MusicExpo.pm +++ b/lib/App/MusicExpo.pm @@ -113,6 +113,7 @@ sub run { my $ht=HTML::Template::Compiled->new( default_escape => 'HTML', + global_vars => 2, $template eq '' ? (scalarref => \$default_template) : (filename => $template), ); @@ -138,7 +139,7 @@ $default_template = <<'HTML'; TitleArtistAlbumGenreTrackYearType -/ +/ HTML