Validate *.html file as xhtml?

We're using Concordion, which reads html files as xhtml.  They must have an html extension to be picked up by Concordion.  But as far as I can tell, IDEA only validates XHTML if it has an '.xhtml' file extension -- a strange convention if this link is right.  Is there another way to get these validations in a standard html file?

0
Avatar
Permanently deleted user

Assign .html to XHTML file type (Settings -> File Types)

0
Avatar
Permanently deleted user

That's an IDE-wide setting.  If I change that, then all my html files for all my projects will have to conform to xhtml.  I would have assumed IDEA would just use the doctype or the namespace to identify xhtml.  There should be a file-specific way to handle this, although a project-specific solution would work in my case.

0
Avatar
Permanently deleted user

There is no way to do it currently. Feel free to submit a request about it.

0
Avatar
Permanently deleted user

Thanks.  I added IDEA-99549

0

请先登录再写评论。