Page MenuHomePhabricator

Capitalizing a matching tag makes CodeMirror not recognize it
Closed, ResolvedPublic5 Estimated Story Points

Description

CodeMirror doesn't recognize matching tags when one is capitalized and the other isn't. The closing tag is treated like normal text, or like an incorrect tag.

Examples: <ref> and </Ref>, <Gallery> and </gallery>. See the screenshot.

ref gallery.jpg (310×374 px, 44 KB)

Event Timeline

kaldari set the point value for this task to 5.Nov 1 2017, 11:37 PM

Change 503671 had a related patch set uploaded (by TheDJ; owner: TheDJ):
[mediawiki/extensions/CodeMirror@master] Hightlight match tag with different capitalization

https://gerrit.wikimedia.org/r/503671

Change 503671 merged by jenkins-bot:
[mediawiki/extensions/CodeMirror@master] Highlight match end tag with different capitalization

https://gerrit.wikimedia.org/r/503671

this was fixed a while ago