-
-
Notifications
You must be signed in to change notification settings - Fork 243
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
Generated HTML5 fails validation. #618
Comments
It shouldn't generate that... It should generate something like this:
|
Yeah, that's kinda what I was getting at. That is the final output and it is invalid HTML5 according to the W3C validator. |
That's really strange, that's the first time I've seen it output that. Are you able to provide us with a link to your project source code? If not, could you zip it up and email it to support@docpad.org and I'll take a look. Cheers! |
I think there are crossed wires. It outputs what Greduan said, I was just quoting the code itself.
Anyway, my point is that the validator rejects it. |
Hrmm, that source line of code works as expected, and should output console.log("Hello "Ben" how are you today?");
// will fail as the string will be seen as "Hello ", then the literal Ben, then the string " how are you today?") console.log("Hello \"Ben\" how are you today?");
// will work, as the escapes allow us to continue the string, outputting: Hello "Ben" How are you today? |
Third time lucky: it does output what it is supposed to. My point is that it that
is not valid HTML and the W3C validator complains about it. |
Should be |
- v6.50.1 August 28, 2013 - Fixed validation of DocPad sites containing the powered by header - Thanks to [drguildo](https://github.com/drguildo) and [Eduan Lavaque](https://github.com/Greduan) for [issue #618](#618)
Fixed with the just released v6.50.1. Awesome work. Thanks for reporting! |
- v6.50.1 August 28, 2013 - Fixed validation of DocPad sites containing the powered by header - Thanks to [drguildo](https://github.com/drguildo) and [Eduan Lavaque](https://github.com/Greduan) for [issue #618](#618)
By default DocPad seeems to insert the following header into generated HTML:
which causes it to fail validation using the W3C Validation Service. This is even the case using the HTML5 skeleton.
The text was updated successfully, but these errors were encountered: