r91924 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91923‎ | r91924 | r91925 >
Date:23:34, 11 July 2011
Author:nad
Status:deferred
Tags:
Comment:
rm space before <\td>, newline after wikitext cell content works
Modified paths:
  • /trunk/extensions/RecordAdmin/RecordAdmin_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/RecordAdmin/RecordAdmin_body.php
@@ -408,7 +408,7 @@
409409 if( !in_array( $col, $row ) ) {
410410 if( isset( $r[$col] ) ) {
411411 if( !$fcol ) $text .= "@@@";
412 - $text .= $r[$col];
 412+ $text .= $r[$col] . "\n";
413413 $fcol = false;
414414 }
415415 }
@@ -455,7 +455,7 @@
456456 if( !isset( $row[$col] ) ) {
457457 $v = isset( $r[$col] ) ? array_shift( $pcols ) : '&#160;';
458458 $class = 'col' . preg_replace( "|\W|", "-", $col );
459 - $row[$col] = "<td class='$class'>$v </td>";
 459+ $row[$col] = "<td class='$class'>$v</td>";
460460 }
461461 $table .= "$row[$col]\n";
462462 }

Status & tagging log