From 7f06d55d84db512cc9b1eee0ef23db2d7bf30214 Mon Sep 17 00:00:00 2001 From: Christian Murphy Date: Fri, 25 Nov 2022 04:09:52 -0700 Subject: Add mdx parser to fuzzing Closes GH-25. Reviewed-by: Titus Wormer --- fuzz/fuzz_targets/markdown.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'fuzz/fuzz_targets') 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()); } }); -- cgit