feat(elements): table parsing

This commit is contained in:
PoiScript 2019-08-06 14:03:16 +08:00
parent 470f90bfb5
commit 3e4772a896
6 changed files with 688 additions and 553 deletions

View file

@ -149,6 +149,9 @@ pub trait OrgHandler<E: From<Error>> {
}
write!(&mut w, " ")?;
}
Table(_) => (),
TableRow(_) => (),
TableCell => (),
}
Ok(())
@ -184,6 +187,9 @@ pub trait OrgHandler<E: From<Error>> {
}
writeln!(&mut w)?;
}
Table(_) => (),
TableRow(_) => (),
TableCell => (),
// non-container elements
_ => debug_assert!(!element.is_container()),
}