Page MenuHomePhabricator

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


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.


Related Gerrit Patches:
mediawiki/extensions/CodeMirror : masterHighlight match end tag with different capitalization

Event Timeline

DannyH created this task.Oct 30 2017, 6:33 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 30 2017, 6:33 PM
kaldari set the point value for this task to 5.Nov 1 2017, 11:37 PM
Niharika triaged this task as Lowest priority.Nov 7 2017, 11:09 PM

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

TheDJ claimed this task.Apr 13 2019, 9:46 PM

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

TheDJ closed this task as Resolved.Feb 24 2020, 7:53 PM

this was fixed a while ago