Tweak for r42592 (re-adding alt text for arrows on enhanced RC)
authorBrion Vibber <brion@users.mediawiki.org>
Sun, 26 Oct 2008 02:53:14 +0000 (02:53 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sun, 26 Oct 2008 02:53:14 +0000 (02:53 +0000)
Use a non-breaking space instead of plain space for the alt text for the spacer image; the plain space seems to get lost (tested in firefox 3). :P
Note this was broken before, it's not a regression. :)

includes/ChangesList.php

index 0f6ff3d..48c7485 100644 (file)
@@ -813,7 +813,7 @@ class EnhancedChangesList extends ChangesList {
         * @return string HTML <img> tag
         */
        protected function spacerArrow() {
-               return $this->arrow( '', ' ' );
+               return $this->arrow( '', codepointToUtf8( 0xa0 ) ); // non-breaking space
        }
 
        /**