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

ltex with html: Within source tag no html check #296

Open
Reissner opened this issue Jan 24, 2024 · 0 comments
Open

ltex with html: Within source tag no html check #296

Reissner opened this issue Jan 24, 2024 · 0 comments
Labels
1-feature-request ✨ Issue type: Request for a desirable, nice-to-have feature

Comments

@Reissner
Copy link

Is your feature request related to a problem? Please describe.
In html frequently the tag source is used.
Probably most frequently as `...</script>.
The problem is, that ltex just checks within script environment as if it were text in natural language.

Describe the solution you'd like
The text within script shall either not be proved or, better, it shall be proved with the language given by the mime type.
At least for javascript this would help a lot and maybe it is not difficult to realize as ltex is already able to check standalone javascript.

Describe alternatives you've considered
Well, sometimes just linking to a separate .js file solves the problem also, but this is cumbersome for very small pieces of code.

Additional context
Should not need additional context.

@Reissner Reissner added the 1-feature-request ✨ Issue type: Request for a desirable, nice-to-have feature label Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1-feature-request ✨ Issue type: Request for a desirable, nice-to-have feature
Projects
None yet
Development

No branches or pull requests

1 participant