File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,6 @@ public function row( array $row ) {
138138
139139 foreach ( $ row as $ col => $ value ) {
140140 $ value = $ value ?: '' ;
141- $ value = str_replace ( "\t" , ' ' , $ value );
142141 $ col_width = $ this ->_widths [ $ col ];
143142 $ encoding = function_exists ( 'mb_detect_encoding ' ) ? mb_detect_encoding ( $ value , null , true /*strict*/ ) : false ;
144143 $ original_val_width = Colors::width ( $ value , self ::isPreColorized ( $ col ), $ encoding );
@@ -199,6 +198,7 @@ public function row( array $row ) {
199198 }
200199
201200 private function padColumn ($ content , $ column ) {
201+ $ content = str_replace ( "\t" , ' ' , $ content );
202202 return $ this ->_characters ['padding ' ] . Colors::pad ( $ content , $ this ->_widths [ $ column ], $ this ->isPreColorized ( $ column ) ) . $ this ->_characters ['padding ' ];
203203 }
204204
You can’t perform that action at this time.
0 commit comments