X-Git-Url: http://git.ieval.ro/?p=plack-app-gruntmaster.git;a=blobdiff_plain;f=lib%2FPlack%2FApp%2FGruntmaster%2FHTML.pm;h=4a22292702ed0d1446dfa619aba4ae4cfba57697;hp=3195b623170da4c58059fd9f2cc8fcfe4e31d94b;hb=f4154608b9a883bb70391c6dd6eea32f0051f6ea;hpb=6533844f1a2ec6b162b696c31a623a4dc8ee72bb diff --git a/lib/Plack/App/Gruntmaster/HTML.pm b/lib/Plack/App/Gruntmaster/HTML.pm index 3195b62..4a22292 100644 --- a/lib/Plack/App/Gruntmaster/HTML.pm +++ b/lib/Plack/App/Gruntmaster/HTML.pm @@ -68,6 +68,7 @@ sub _render { $process->($tree, %args) if $process; $_->detach for $tree->look_down(static => $args{static} ? 'no' : 'yes'); $_->attr('static', undef) for $tree->look_down(sub {$_[0]->attr('static')}); + $_->attr('smap', undef) for $tree->look_down(sub {$_[0]->attr('defmap')}); $tree->as_HTML; }