XHTML fix in enhanced RC
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 14 Dec 2006 22:30:42 +0000 (22:30 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 14 Dec 2006 22:30:42 +0000 (22:30 +0000)
includes/ChangesList.php

index ede27ce..a2c1a26 100644 (file)
@@ -344,7 +344,7 @@ class EnhancedChangesList extends ChangesList {
                        $clink = $this->skin->makeKnownLinkObj( $rc->getTitle(), '' );
                }
 
-               $time = $wgContLang->time( $rc_timestamp, true, true ) . '</tt> ';
+               $time = $wgContLang->time( $rc_timestamp, true, true );
                $rc->watched = $watched;
                $rc->link = $clink;
                $rc->timestamp = $time;
@@ -457,7 +457,7 @@ class EnhancedChangesList extends ChangesList {
                $r .= $this->recentChangesFlags( $isnew, false, $unpatrolled, '&nbsp;', $bot );
 
                # Timestamp
-               $r .= ' '.$block[0]->timestamp.' ';
+               $r .= ' '.$block[0]->timestamp.' </tt>';
 
                # Article link
                $r .= $this->maybeWatchedLink( $block[0]->link, $block[0]->watched );