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

HTML validation issues #2

Open
bittner opened this issue Dec 11, 2020 · 0 comments
Open

HTML validation issues #2

bittner opened this issue Dec 11, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@bittner
Copy link
Member

bittner commented Dec 11, 2020

From schidlo/behave-html-formatter#6:

When you run the w3validator HTML validation service over the generated HTML code a few violations are reported:

L# Violation Suggested solution
210 type attribute in style shall be omitted Remove type parameter value
212 type attribute in script shall be omitted Remove type parameter value
228 p shall not wrap other paragraphs Use div instead
367 span tag shall not be self-closing (Make sure there is an opening and a closing tag)
  • The resulting strew closing li tag is likely a result of the self-closing span tag.
  • The illegal span tag might be the reason for unsuccessful embedding, as reported on the Behave issue tracker.

Side note

It might be good practice to have a test suite that runs html5validator (container image) over a generated result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant