Skip to content

'Head script disabled' shows error if <script> tag is outside of the <body> tag #10

Closed
@danielppereira

Description

@danielppereira

I have some .PHP files that have <script>tags that, doesn't have a <head> or <body> tag, because they are just included in another .PHP file. So, when i run the task 'htmlhint' with the option 'Head script disabled' activate, it shows some errors, because it dont find these mentioned tags. But actually, this is not an error. The error must be showed only if there is a <script>tag inside the tag <head>. Please, include an option to ignore it if no tag is founded.

P.S.: (Sorry about the english=))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions