mirror of
https://github.com/nushell/nushell
synced 2024-12-28 22:13:10 +00:00
Add hex pretty print to 'to html' (#2216)
This commit is contained in:
parent
ebc2d40875
commit
0c43a4d04b
1 changed files with 5 additions and 1 deletions
|
@ -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)) => {
|
||||
|
|
Loading…
Reference in a new issue