self.out.write_str("
{
+ if matches!(self.list_tightness.last(), Some(true)) {
+ continue;
+ }
+ self.out.write_str("
write!(self.out, " self.out.write_str(" self.out.write_str(">, W: std::fmt::Write> Writer<'s, I, W> {
kind: ListKind::Unordered | ListKind::Task,
..
} => {
+ self.list_tightness.pop();
self.out.write_str("")?;
}
Container::List {
@@ -298,6 +306,9 @@ impl<'s, I: Iterator- >, W: std::fmt::Write> Writer<'s, I, W> {
Container::TableRow => self.out.write_str("
|