Page MenuHomePhabricator

Capitalizing a matching tag makes CodeMirror not recognize it
Open, LowestPublic5 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.

Details

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

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

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

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