Skip to content

[BUG] require-closing-tags misses unclosed `<script> tags #453

@aaronadamsCA

Description

@aaronadamsCA

Describe the bug
The require-closing-tags rule does not catch unclosed <script> and <style> tags.

To Reproduce
Steps to reproduce the behavior:

  1. Add an unclosed <script> or <style> tag.

Expected behavior
Lint error.

Additional context
These are both "raw text elements" in the standard, and closing tags are required.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions