Commit version 24.12.13800
This commit is contained in:
@ -137,7 +137,7 @@ class Ascii extends Renderer {
|
||||
$extra_rows = array_fill( 0, count( $row ), array() );
|
||||
|
||||
foreach( $row as $col => $value ) {
|
||||
|
||||
$value = $value ?: '';
|
||||
$value = str_replace( array( "\r\n", "\n" ), ' ', $value );
|
||||
|
||||
$col_width = $this->_widths[ $col ];
|
||||
@ -180,7 +180,7 @@ class Ascii extends Renderer {
|
||||
$row_values = array();
|
||||
$has_more = false;
|
||||
foreach( $extra_rows as $col => &$col_values ) {
|
||||
$row_values[ $col ] = array_shift( $col_values );
|
||||
$row_values[ $col ] = ! empty( $col_values ) ? array_shift( $col_values ) : '';
|
||||
if ( count( $col_values ) ) {
|
||||
$has_more = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user