http://www.mediawiki.org/wiki/Special:Code/MediaWiki/75658

Revision: 75658
Author:   hartman
Date:     2010-10-29 18:28:44 +0000 (Fri, 29 Oct 2010)
Log Message:
-----------
Add a nbsp to each empty "diff-marker".

Fixes Bug 25697
Prevent collapsed table row if both pre and post lines in the diff are totally 
empty.

Modified Paths:
--------------
    trunk/phase3/includes/diff/DifferenceEngine.php

Modified: trunk/phase3/includes/diff/DifferenceEngine.php
===================================================================
--- trunk/phase3/includes/diff/DifferenceEngine.php     2010-10-29 18:16:54 UTC 
(rev 75657)
+++ trunk/phase3/includes/diff/DifferenceEngine.php     2010-10-29 18:28:44 UTC 
(rev 75658)
@@ -1177,7 +1177,7 @@
 
        # HTML-escape parameter before calling this
        function contextLine( $line ) {
-               return $this->wrapLine( ' ', 'diff-context', $line );
+               return $this->wrapLine( ' ', 'diff-context', $line );
        }
 
        private function wrapLine( $marker, $class, $line ) {


_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to