From f4154608b9a883bb70391c6dd6eea32f0051f6ea Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Sat, 21 Mar 2015 19:07:18 +0200 Subject: [PATCH] Remove smap attributes --- lib/Plack/App/Gruntmaster/HTML.pm | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.30.2