$elem->find('a')->edit_href(sub{s/$/&$str/}) if $str;
}
$tree->fclass('current')->replace_content("Page $args{current_page} of $args{last_page}");
+
+ my @detach;
+ push @detach, $args{args}{$_} ? $tree->fclass($_) : () for qw/problem contest owner/;
+ $_->detach for @detach;
}
sub process_st {
<table class="table table-striped table-condensed">
-<thead><tr><th>ID<th>Problem<th>Contest<th>Date<th>Source<th>User<th>Result</thead>
+<thead><tr><th>ID<th class="problem">Problem<th class="contest">Contest<th>Date<th>Source<th class="owner">User<th>Result</thead>
<tbody>
<tr><td class="id"><a href="/log/id">Job ID</a>