Closed
Description
I believe that the <script>
tag should be telling tidy not to check its contents, but tidy complains about the </p>
in a string.
$ cat foo.html
<!DOCTYPE html>
<html>
<head>
<title>scratch</title>
</head>
<body>
<script><!--
str = '</p>';
--></script>
</body>
</html>
$ tidy -q -e foo.html
line 8 column 9 - Warning: '<' + '/' + letter not allowed here