Skip to content
This repository was archived by the owner on Sep 18, 2026. It is now read-only.
This repository was archived by the owner on Sep 18, 2026. It is now read-only.

Bug - parse error on lowercase <!doctype html> #336

Description

@ondrejmirtes

When the linted HTML file begins with:

<!-- ko-import { RootViewModel } from './js/RootViewModel' -->
<!-- ko-viewmodel RootViewModel -->
<!doctype html>

KOLint reports: KO0014 Expected 'Ident', '/', got "!doctype" (TEXT).

But that syntax is valid.

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions