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

w3c: fix HTML syntax errors #103

Merged
merged 1 commit into from
Jan 26, 2015
Merged

w3c: fix HTML syntax errors #103

merged 1 commit into from
Jan 26, 2015

Conversation

virtualtam
Copy link
Member

Fixes the remaining W3C validation errors reported in #64

All pages:

  • add urlencode when passing the version to a custom stylesheet;
  • set meaningful values of alt and title for QR-Code images.

Install page:

  • the form's action attribute must be non-empty;
  • the valign attribute is deprecated.

To validate the install page, you may need to comment the session check section at the beginning of the install() method in index.php (else, the session check will fail, and there'll be nothing to validate ;-) ).

Fixes shaarli#64

All pages:
- add `urlencode` when passing the version to a custom stylesheet;
- set meaningful values of `alt` and `title` for QR-Code images.

Install page:
- the form's `action` attribute must be non-empty;
- the `valign` attribute is deprecated.

Signed-off-by: VirtualTam <virtualtam@flibidi.org>
@pikzen
Copy link

pikzen commented Jan 21, 2015

Tested, got that sweet html5 compliance. Nothing special to report 🎉

OK to merge.

@nodiscc
Copy link
Member

nodiscc commented Jan 26, 2015

Thanks @virtualtam

nodiscc added a commit that referenced this pull request Jan 26, 2015
w3c: fix HTML syntax errors
@nodiscc nodiscc merged commit e57e364 into shaarli:master Jan 26, 2015
@virtualtam virtualtam deleted the fix-w3c branch July 9, 2015 19:37
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