mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 22:50:14 +02:00
Add hex pretty print to 'to html' (#2217)
This commit is contained in:
@ -204,7 +204,11 @@ async fn to_html(
|
||||
output_string.push_str(&base64::encode(&b));
|
||||
output_string.push_str("\">");
|
||||
}
|
||||
_ => {}
|
||||
_ => {
|
||||
let output = pretty_hex::pretty_hex(&b);
|
||||
|
||||
output_string.push_str(&output);
|
||||
}
|
||||
}
|
||||
}
|
||||
_ => {
|
||||
|
Reference in New Issue
Block a user