mirror of
https://github.com/nushell/nushell
synced 2025-01-15 22:54:16 +00:00
Add hex pretty print to 'to html' (#2217)
This commit is contained in:
parent
0c43a4d04b
commit
2dea392e40
1 changed files with 5 additions and 1 deletions
|
@ -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 a new issue