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

[QUESTION] What version of nu checker is used? #41

Open
SilentImp opened this issue May 27, 2023 · 1 comment
Open

[QUESTION] What version of nu checker is used? #41

SilentImp opened this issue May 27, 2023 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@SilentImp
Copy link

Question

Hi, I added a rule to check both HTML and CSS.

  html_validator:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
    - name: Checks HTML5
      uses: Cyb3r-Jak3/[email protected]
      with:
        root: ./
        css: true
        format: xml

It is checking CSS file:

body > p:last-of-type {
  color: red;
}

figure > blockquote {
  margin-inline-start: 0;
}

and generating error:

<message>CSS: <code xmlns="http://www.w3.org/1999/xhtml">margin-inline-start</code>: Property <code xmlns="http://www.w3.org/1999/xhtml">margin-inline-start</code> doesn't exist.</message>

At the same time, https://validator.w3.org/nu/#textarea show it as valid CSS (and it is valid).
I was thinking: maybe it's because the version of a validator is somehow outdated?

Regards. Anton Nemtsev.

@SilentImp SilentImp added the question Further information is requested label May 27, 2023
@Cyb3r-Jak3
Copy link
Owner

The version being used appears to be 20.6.30. It has to be updated with a PR to https://github.com/svenkreiss/html5validator.

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

No branches or pull requests

2 participants