mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 12:46:00 +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(&base64::encode(&b));
|
||||||
output_string.push_str("\">");
|
output_string.push_str("\">");
|
||||||
}
|
}
|
||||||
_ => {}
|
_ => {
|
||||||
|
let output = pretty_hex::pretty_hex(&b);
|
||||||
|
|
||||||
|
output_string.push_str(&output);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
_ => {
|
_ => {
|
||||||
|
Reference in New Issue
Block a user