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

Support HTML #342

Closed
sanmai-NL opened this issue Jul 3, 2021 · 3 comments
Closed

Support HTML #342

sanmai-NL opened this issue Jul 3, 2021 · 3 comments
Assignees
Labels
1-feature-request ✨ Issue type: Request for a desirable, nice-to-have feature 3-fixed Issue resolution: Issue has been fixed on the develop branch
Milestone

Comments

@sanmai-NL
Copy link

Is your feature request related to a problem? Please describe.
HTML is a popular content writing format, e.g. for educational materials. Currently, LTEX regards HTML documents as plain text. This results in a lot of spurious writing error markings.

Describe the solution you'd like
Please support HTML, even if rudimentary.

Describe alternatives you've considered
Other extensions have their own problems

Additional context
None.

@sanmai-NL sanmai-NL added the 1-feature-request ✨ Issue type: Request for a desirable, nice-to-have feature label Jul 3, 2021
@valentjn valentjn self-assigned this Jul 4, 2021
@valentjn
Copy link
Owner

valentjn commented Jul 4, 2021

Thanks for the suggestion. I'm currently working on XHTML support (this just means your HTML documents must be valid XML), because HTML parsing is hard. The requirement for the Java HTML parser that it must preserve source code positions while parsing eliminates the obvious alternatives like jsoup (old reply, but still holds). XML parsing on the other hand is easier, plus I always had a preference for XHTML.

valentjn added a commit to valentjn/ltex-ls that referenced this issue Jul 9, 2021
@valentjn valentjn added this to the 10.5.0 milestone Jul 9, 2021
@valentjn
Copy link
Owner

valentjn commented Jul 9, 2021

This is implemented now. Don't expect too much from it, it's very basic.

@valentjn valentjn added the 3-fixed Issue resolution: Issue has been fixed on the develop branch label Jul 9, 2021
@valentjn
Copy link
Owner

Fix released in 10.5.0.

me-johnomar added a commit to me-johnomar/ltex-ls that referenced this issue Jan 31, 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 3-fixed Issue resolution: Issue has been fixed on the develop branch
Projects
None yet
Development

No branches or pull requests

2 participants