Skip to content

incorrectly gives errors for XHTML #102

@garretwilson

Description

@garretwilson

If I have an XHTML file (HTML stored as XML), specifically, HTML5, my file starts like this:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html><html  lang="en-us"  xmlns="http://www.w3.org/1999/xhtml">

Unfortunately HTMLHint thinks that < must be escaped, that a DOCTYPE must appear before it, etc. This will confuse my translators. Can HTMLHint accept valid XML intro information?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions