feat(parser): timestamp parsing
This commit is contained in:
parent
1f52e75d3d
commit
1bb5286dd3
12 changed files with 887 additions and 1023 deletions
|
|
@ -32,7 +32,7 @@ impl From<FromUtf8Error> for Error {
|
|||
type Result = std::result::Result<(), Error>;
|
||||
|
||||
impl<W: Write> HtmlHandler<W, Error> for CustomHtmlHandler {
|
||||
fn handle_headline_beg(&mut self, w: &mut W, hdl: Headline) -> Result {
|
||||
fn headline_beg(&mut self, w: &mut W, hdl: Headline) -> Result {
|
||||
if hdl.level > 6 {
|
||||
Err(Error::Heading)
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue