Skip to content
Snippets Groups Projects
Commit 5907ba0f authored by Guillaume ROUSSE's avatar Guillaume ROUSSE
Browse files

no need for so much exceptions

parent 314cca48
Branches
Tags 0.46
No related merge requests found
...@@ -116,11 +116,6 @@ sub html_ok { ...@@ -116,11 +116,6 @@ sub html_ok {
}); });
$tidy->ignore(type => TIDY_INFO); $tidy->ignore(type => TIDY_INFO);
$tidy->ignore(text => qr/<img> lacks "alt" attribute/); $tidy->ignore(text => qr/<img> lacks "alt" attribute/);
# https://github.com/htacg/tidy-html5/issues/611
$tidy->ignore(text => qr/inserting implicit <table>/);
$tidy->ignore(text => qr/\S+ isn't allowed in <table> elements/);
$tidy->ignore(text => qr/missing \S+/);
$tidy->ignore(text => qr/discarding unexpected \S+/);
local $ENV{LANG} = 'C'; local $ENV{LANG} = 'C';
Test::HTML::Tidy5::html_tidy_ok($tidy, $res->text(), "HTML content OK"); Test::HTML::Tidy5::html_tidy_ok($tidy, $res->text(), "HTML content OK");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment