Skip to content

library panics when input contains unkown admontion type #35

Description

@getreu

Consider the following rst input:

hello

.. DANGER::
   Beware killer rabbits!

My thread panics because rust-rst panics.

thread '<unnamed>' panicked at 'Unknown admontion type DANGER!', /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/rst_parser-0.4.0/src/conversion/block.rs:189:24

Expected behaviour

Either silently ignore unknown admontions or return an error type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions