write [a,b,c] correctly with write_canonical (#349)

This commit is contained in:
Mark Thom
2020-04-14 23:25:15 -06:00
parent e8091d8add
commit 124d924ff5

View File

@@ -1083,7 +1083,7 @@ impl<'a, Outputter: HCValueOutputter> HCPrinter<'a, Outputter> {
let at_cdr = self.at_cdr(",");
if !at_cdr && Addr::EmptyList == end_addr {
if !self.machine_st.flags.double_quotes.is_codes() {
if self.machine_st.flags.double_quotes.is_chars() && !self.ignore_ops {
self.print_proper_string(buf, max_depth);
return;
}