diff --git a/crates/nu-cli/src/commands/to_html.rs b/crates/nu-cli/src/commands/to_html.rs index 90483d8468..9f5924935d 100644 --- a/crates/nu-cli/src/commands/to_html.rs +++ b/crates/nu-cli/src/commands/to_html.rs @@ -207,14 +207,18 @@ async fn to_html( _ => { let output = pretty_hex::pretty_hex(&b); + output_string.push_str("
"); output_string.push_str(&output); + output_string.push_str(""); } } } _ => { let output = pretty_hex::pretty_hex(&b); + output_string.push_str("
"); output_string.push_str(&output); + output_string.push_str(""); } } }