diff options
author | Christian Murphy <christian.murphy.42@gmail.com> | 2022-11-25 04:09:52 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-25 12:09:52 +0100 |
commit | 7f06d55d84db512cc9b1eee0ef23db2d7bf30214 (patch) | |
tree | 1f428a73ab3ccf11fb162cfa6de28a27ccd6befa | |
parent | eea185ea8509d37a1f87babab75b1f94350db802 (diff) | |
download | markdown-rs-7f06d55d84db512cc9b1eee0ef23db2d7bf30214.tar.gz markdown-rs-7f06d55d84db512cc9b1eee0ef23db2d7bf30214.tar.bz2 markdown-rs-7f06d55d84db512cc9b1eee0ef23db2d7bf30214.zip |
Add mdx parser to fuzzing
Closes GH-25.
Reviewed-by: Titus Wormer <tituswormer@gmail.com>
-rw-r--r-- | fuzz/fuzz_targets/markdown.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fuzz/fuzz_targets/markdown.rs b/fuzz/fuzz_targets/markdown.rs index c86a7db..ca6d86b 100644 --- a/fuzz/fuzz_targets/markdown.rs +++ b/fuzz/fuzz_targets/markdown.rs @@ -7,5 +7,6 @@ fuzz_target!(|data: &[u8]| { let _ = markdown::to_html_with_options(s, &markdown::Options::gfm()); let _ = markdown::to_mdast(s, &markdown::ParseOptions::default()); let _ = markdown::to_mdast(s, &markdown::ParseOptions::gfm()); + let _ = markdown::to_mdast(s, &markdown::ParseOptions::mdx()); } }); |