Am I missing something - editing HTML in Irida

Whenever I edit my HTML files in IDEA, the entire window is covered with red underlines. Every single character on the screen is underlined, the error is "Top level element is not completed."

If I remove the declaration, then a bunch of tag names are highlighted in red, like and and <img>]]>.

If I remove the DOCTYPE declaration, it works okay, but publishing HTML without a doctype sucks (and it also affects how browsers render the page), so I can't just remove all my doctype declarations. I want to use XHTML.

Anyway, is there something I'm missing? Does Irida not support XHTML yet? Or should I be editing in some other way or with some other configuration?

I've attached an example of one of my HTML files, in case that helps figure out the problem.

0
3 comments
Avatar
Permanently deleted user

I can't see any attachments.
Have you tried to valdate the HTML files in question with the W3C
validator? Do they pass?

0
Avatar
Permanently deleted user

I'll try attaching again. Yes, the pages are valid XHTML.

0
Avatar
Permanently deleted user

Hi,
Post to the tracker example files and used file types.

Keith Lea wrote:

I'll try attaching again. Yes, the pages are valid XHTML.



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Please sign in to leave a comment.