diff --git a/crates/nu-cli/src/commands/to_html.rs b/crates/nu-cli/src/commands/to_html.rs index 525e2162e0..b2ea34384a 100644 --- a/crates/nu-cli/src/commands/to_html.rs +++ b/crates/nu-cli/src/commands/to_html.rs @@ -207,7 +207,11 @@ async fn to_html( _ => {} } } - _ => {} + _ => { + let output = pretty_hex::pretty_hex(&b); + + output_string.push_str(&output); + } } } UntaggedValue::Primitive(Primitive::String(ref b)) => {