Skip to content

Some more validation stuff, and a script to check them :) #101

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

Closed
wants to merge 6 commits into from

Conversation

relrod
Copy link
Contributor

@relrod relrod commented Aug 1, 2013

More work on HTML5 validation. Still some to go. Will keep working on this in my spare time.

https://gist.github.com/CodeBlock/6127856

relrod added 6 commits July 31, 2013 19:41
- Jekyll was optimizing <span class="current-year"></span> to
  <span class="current-year" /> which is invalid.
- Because it was invalid, browsers (and the validator) were treating it
  as a <span> start tag. Because of this, when the text of the span was
  set via javascript, some of the copyright info was being lost.

So instead of
"Copyright (c) 2002-2013 EPFL, Lausanne, unless otherwise specified. \
All rights reserved."

We were seeing just:

"Copyright (c) 2002-2013"
@sjrd
Copy link
Member

sjrd commented Aug 1, 2013

LGTM!

Amazing, that tool :)
Merged as 95bc365 and parents, with the three commits about the tool squashed as one.

@sjrd sjrd closed this Aug 1, 2013
@relrod
Copy link
Contributor Author

relrod commented Aug 1, 2013

Thanks for being so open to patches, :)

Will keep working on this as time permits.

@heathermiller
Copy link
Member

Oh man, thanks a lot for helping us out on this. We really appreciate it :)

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

Successfully merging this pull request may close these issues.

3 participants