Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

html mode less than in script block causes misspellings to be missed #626

Open
agmartin2 opened this issue Sep 28, 2022 · 0 comments
Open

Comments

@agmartin2
Copy link

Hi, Kevin,

In Debian BTS we have received this bug report filed by by Andrew Courser,

https://bugs.debian.org/1020829

Quoting below. Seems something different than issue #473


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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant