Package: aspell
Version: 0.60.8-3

HTML mode appears to be confused by less than symbols in script elements.
This file:

<!DOCTYPE html>
<html lang="en">

<head>
        <script>
                
        </script>
</head>
<body>
                <p>
                        I cannae shpell goot.
                </p>
</body>
</html>


when run via `aspell list --mode=html`
outputs:

cannae
shpell
goot

however, adding a less than symbol in the script, like so:

<!DOCTYPE html>
<html lang="en">

<head>
        <script>
                <
        </script>
</head>
<body>
                <p>
                        I cannae shpell goot.
                </p>
</body>
</html>

produces no output when run via the same invocation.

This happens in normal script, not just the minimal contrived example above.

I am using Linux debian 5.10.0-18-amd64 #1 SMP Debian 5.10.140-1
(2022-09-02) x86_64 GNU/Linux
apt show libc6 | grep ^Version: Version: 2.31-13+deb11u4

Reply via email to