Skip to content

Commit

Permalink
divs instead of <br> tags (might break existing stylesheets)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexDaniel committed Dec 2, 2014
1 parent 3fb5319 commit 82d888f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wiki.pl
Expand Up @@ -2397,7 +2397,7 @@ sub GetFooterTimestamp {
my @elements = (($rev eq '' ? T('Last edited') : T('Edited')), TimeToText($Page{ts}),
Ts('by %s', GetAuthorLink($Page{host}, $Page{username})));
push(@elements, ScriptLinkDiff(2, $id, T('(diff)'), $rev)) if $UseDiff and $Page{revision} > 1;
return $q->span({-class=>'time'}, @elements, $q->br());
return $q->div({-class=>'time'}, @elements);
}
return '';
}
Expand Down Expand Up @@ -2434,7 +2434,7 @@ sub GetFooterLinks {
$action .= ';id=' . UrlEncode($id) if $id;
push(@elements, ScriptLink($action, T('Administration'), 'admin'));
}
return @elements ? $q->span({-class=>'edit bar'}, @elements, $q->br()) : '';
return @elements ? $q->div({-class=>'edit bar'}, @elements) : '';
}

sub GetCommentForm {
Expand Down

0 comments on commit 82d888f

Please sign in to comment.