use super::*; #[test] fn no_empty_link() { html_opts!( [render.ignore_empty_links], "[](https://example.com/evil-link-for-seo-spam)", "
[](https://example.com/evil-link-for-seo-spam)
\n", ); html_opts!( [render.ignore_empty_links], "[ ](https://example.com/evil-link-for-seo-spam)", "[ ](https://example.com/evil-link-for-seo-spam)
\n", ); } #[test] fn empty_image_allowed() { html_opts!( [render.ignore_empty_links], "", "