Skip to content
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

<meta http-equiv="refresh"> fails to validate inside <noscript> in <head> #2

Closed
Spaxe opened this issue Jan 4, 2012 · 1 comment
Closed

Comments

@Spaxe
Copy link

Spaxe commented Jan 4, 2012

Minimal test case:

<!DOCTYPE html>
<html>
<head>
  <title>Minimal Test Cast for a meta tag inside noscript</title>

  <noscript>
    <meta http-equiv="refresh" content="0; url=/javascript-disabled/">
  </noscript>

</head>
<body>
</body>
</html>

Also, the output seems to be HTML 4.01 EN? See output below:

└──>>tidy meta-noscript.html 
line 6 column 3 - Warning: inserting implicit <body>
line 7 column 5 - Warning: <meta> isn't allowed in <noscript> elements
line 6 column 3 - Info: <noscript> previously mentioned
line 10 column 1 - Warning: </head> isn't allowed in <body> elements
line 6 column 3 - Info: <body> previously mentioned
line 11 column 1 - Warning: discarding unexpected <body>
line 6 column 3 - Warning: trimming empty <noscript>
Info: Document content looks like HTML 4.01 Strict
Info: No system identifier in emitted doctype
5 warnings, 0 errors were found!

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<meta name="generator" content=
"HTML Tidy for Linux (vers 16 November 2011), see www.w3.org">
<title>Minimal Test Cast for a meta tag inside noscript</title>
<meta http-equiv="refresh" content="0; url=/javascript-disabled/">
</head>
<body>
</body>
</html>

To learn more about HTML Tidy see http://tidy.sourceforge.net
Please fill bug reports and queries using the "tracker" on the Tidy web site.
Additionally, questions can be sent to html-tidy@w3.org
HTML and CSS specifications are available from http://www.w3.org/
Lobby your company to join W3C, see http://www.w3.org/Consortium
@sideshowbarker
Copy link
Contributor

Fixed now.

See also 33ba803

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants