forked from extern/nushell
Add hex pretty print to 'to html' (#2216)
This commit is contained in:
parent
ebc2d40875
commit
0c43a4d04b
@ -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 New Issue
Block a user