If open tag is written in one line, CodeMirror highlights it correctly and matches closing tag correctly:
But in case of multi-line open tag (which can be found in sophisticated templates with argument-driven classes and CSS attributes in tags), CodeMirror does not recognize open tag and marks closing tag as unpair:
Since such sophisticated templates need syntax highlighting the most, it's a bit annoying.