Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 373677

Summary: [codemirror] HTML mode complains about self-closing tags
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: ClientAssignee: Mark Macdonald <mamacdon>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 0.4   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:

Description Mark Macdonald CLA 2012-03-08 13:22:49 EST
If you install the codemirror plugin and open an HTML file with some code like this:

 <br />
 <em>Optional</em>

It shows these regions marked as 'errors' (squiggly line annotation):

 <br />
     ^^
 <em>Optional</em>
 ^^^^        ^^^^^

I think I caused this while fixing XML mode (bug 372284). CodeMirror's various HTML and XML modes steal some of the same mime types from each other. Here it looks like the wrong mode is grabbing the HTML mime type.
Comment 1 Mark Macdonald CLA 2015-05-04 11:42:18 EDT
Orion now ships with a good HTML syntax highlighter