Open Naatan opened 8 years ago
Note: This can be as simple as updating our built-in tidy configuration options (KoHTML5TidyLinter) by adding the tags we are missing.
No that would be working around the issue. Plus HTML5 supports custom tags, so you cannot predict what tags someone would use.
I'd like to use a linter which explicitly supports HTML5. tidy-html5 does this, though IIRC some of the newer tidy versions pose some challenges for us.
The point is HTML5 is the defacto version web developers use now. HTML5 should be a first class citizen, not an afterthought.
@cgchoffman I'm pulling you in on this because the new HTML Tidy uses CMake, and this will affect our build process. Just FYI.
Perhaps it's worth looking into whether tidy is still the best tool for the job.
Komodo still has issues linting html5 files, there are workarounds but none are really ideal and the point is that we should be supporting this natively without additional configuration.
So we need to investigate solutions. The end result -has- to be that we natively support HTML5 linting with a reliable dependency that we can ship with Komodo.