... # handler for warning warning => sub { $_->change_tag( 'p') ->set_att( style => "color:red") ->set_prefix( "WARNING: "); }, ...