-
-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tag picture invalid #298
Labels
Comments
Hmm. Could you post the full error (including line number)? |
I've created a reduced test case: <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>title</title>
</head>
<body>
<picture>
<!--[if IE 9]><video style="display: none;"><![endif]-->
<source srcset="https://placehold.it/350x150" media="(min-width: 1200px)" />
<!--[if IE 9]></video><![endif]-->
<img src="https://placehold.it/350x150" srcset="https://placehold.it/350x150" alt="the more you save" />
</picture>
</body>
</html>
FYI, I'm currently running it with: task :proof do
options = {
check_external_hash: true,
check_html: true,
disable_external: true,
typhoeus: { proxy: ENV['http_proxy'] }
}
HTML::Proofer.new('./build', options).run
end |
This'll be fixed in HTML-Proofer 3.0. |
Awesome, thank you! |
Closed by HTMLProofer 3.0: https://github.com/gjtorikian/html-proofer/releases/tag/v3.0.0 |
It's working great, thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Any idea why this throws a
Tag picture invalid
error? I'm running 2.6.1. It checks out fine with W3C's validator.The text was updated successfully, but these errors were encountered: