Add unclosed_html_tags lint

This commit is contained in:
Guillaume Gomez 2020-09-23 20:25:56 +02:00
parent 782013564e
commit e6027a42e1
8 changed files with 213 additions and 9 deletions

View file

@ -43,7 +43,7 @@ use pulldown_cmark::{html, BrokenLink, CodeBlockKind, CowStr, Event, Options, Pa
#[cfg(test)]
mod tests;
fn opts() -> Options {
pub(crate) fn opts() -> Options {
Options::ENABLE_TABLES | Options::ENABLE_FOOTNOTES | Options::ENABLE_STRIKETHROUGH
}