Skip to content

tidy incorrectly warns when <script> tags have html inside #281

Closed
@joeheyming

Description

@joeheyming

Some javascript libraries use script tags for templates:
<script type="text/html" id="my-template">
<h1>hello world</h1>
</script>

When I put html with a script tag like this , tidy5 warns for me around any closing tag that is not a closing </script> tag:
line 383 column 97 - Warning: '<' + '/' + letter not allowed here

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions