mirror of
https://github.com/nushell/nushell
synced 2024-12-28 05:53:09 +00:00
fix the way lists are rendered in markdown (#6369)
This commit is contained in:
parent
ad7522bba0
commit
37bc90c62a
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ fn table(input: PipelineData, pretty: bool, config: &Config) -> String {
|
||||||
let data = row.get_data_by_key(&headers[i]);
|
let data = row.get_data_by_key(&headers[i]);
|
||||||
let value_string = data
|
let value_string = data
|
||||||
.unwrap_or_else(|| Value::nothing(span))
|
.unwrap_or_else(|| Value::nothing(span))
|
||||||
.into_string("|", config);
|
.into_string(", ", config);
|
||||||
let new_column_width = value_string.len();
|
let new_column_width = value_string.len();
|
||||||
|
|
||||||
escaped_row.push(value_string);
|
escaped_row.push(value_string);
|
||||||
|
|
Loading…
Reference in a new issue