mirror of
https://github.com/nushell/nushell.git
synced 2025-04-25 05:38:20 +02: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(&base64::encode(&b));
|
||||||
output_string.push_str("\">");
|
output_string.push_str("\">");
|
||||||
}
|
}
|
||||||
_ => {}
|
_ => {
|
||||||
|
let output = pretty_hex::pretty_hex(&b);
|
||||||
|
|
||||||
|
output_string.push_str(&output);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
_ => {
|
_ => {
|
||||||
|
Loading…
Reference in New Issue
Block a user