mirror of
https://github.com/nushell/nushell.git
synced 2024-11-26 18:33:50 +01:00
Add hex pretty print to 'to html' (#2217)
This commit is contained in:
parent
0c43a4d04b
commit
2dea392e40
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
_ => {
|
||||
|
Loading…
Reference in New Issue
Block a user