Cyb3r-Jak3 / html5validator-action

GitHub Action that checks HTML5 syntax.
https://github.com/marketplace/actions/html5-validator
Mozilla Public License 2.0
42 stars 12 forks source link

[BUG] importmaps break validator #43

Open bennypowers opened 11 months ago

bennypowers commented 11 months ago

Describe the bug Import Maps fail to validate

To Reproduce

<script type="importmap"></script>

What is the current bug behavior

"file:/github/workspace/html/index.html":18.3-18.27: error: Bad value "importmap" for attribute "type" on element "script": Subtype missing.

Expected behavior validates

bennypowers commented 11 months ago

cc @aabughosh

Cyb3r-Jak3 commented 11 months ago

@bennypowers Thanks for the report. This seems to be an upstream linter issue (see https://github.com/svenkreiss/html5validator/pull/126). Once a version is released with the latest version, then I will be to bump to the fixed version.