fix the way lists are rendered in markdown (#6369)

This commit is contained in:
Darren Schroeder 2022-08-20 21:04:30 -05:00 committed by GitHub
parent ad7522bba0
commit 37bc90c62a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -169,7 +169,7 @@ fn table(input: PipelineData, pretty: bool, config: &Config) -> String {
let data = row.get_data_by_key(&headers[i]);
let value_string = data
.unwrap_or_else(|| Value::nothing(span))
.into_string("|", config);
.into_string(", ", config);
let new_column_width = value_string.len();
escaped_row.push(value_string);