Page MenuHomePhabricator

No syntax highlighting in the (wiki)link description
Closed, ResolvedPublic

Description

Steps to reproduce:

  1. Enable Wikitext syntax highlighting
  2. Open your sandbox
  3. Edit it as source
  4. Type [[foo1|<span>foo2</span>]]

Expected results:

The span tags are highlighted.

Actual results:

The span tags are not highlighted, they are the same black color as the "foo2" text.

Comments:

This is probably similar to T108447 / T170240, but not exactly the same problem.

Event Timeline

238482n375 added a project: acl*security.
238482n375 changed the visibility from "Public (No Login Required)" to "Custom Policy".
238482n375 subscribed.

SG9tZVBoYWJyaWNhdG9yCk5vIG1lc3NhZ2VzLiBObyBub3RpZmljYXRpb25zLgoKICAgIFNlYXJjaAoKQ3JlYXRlIFRhc2sKTWFuaXBoZXN0ClQxOTcyODEKRml4IGZhaWxpbmcgd2VicmVxdWVzdCBob3VycyAodXBsb2FkIGFuZCB0ZXh0IDIwMTgtMDYtMTQtMTEpCk9wZW4sIE5lZWRzIFRyaWFnZVB1YmxpYwoKICAgIEVkaXQgVGFzawogICAgRWRpdCBSZWxhdGVkIFRhc2tzLi4uCiAgICBFZGl0IFJlbGF0ZWQgT2JqZWN0cy4uLgogICAgUHJvdGVjdCBhcyBzZWN1cml0eSBpc3N1ZQoKICAgIE11dGUgTm90aWZpY2F0aW9ucwogICAgQXdhcmQgVG9rZW4KICAgIEZsYWcgRm9yIExhdGVyCgpFVzZSC3IERpc2NsYWltZXIgtyBDQy1CWS1TQSC3IEdQTApZb3VyIGJyb3dzZXIgdGltZXpvbmUgc2V0dGluZyBkaWZmZXJzIGZyb20gdGhlIHRpbWV6b25lIHNldHRpbmcgaW4geW91ciBwcm9maWxlLCBjbGljayB0byByZWNvbmNpbGUu

Aklapper changed the visibility from "Custom Policy" to "Public (No Login Required)".
Aklapper removed a subscriber: 238482n375.

Change 763884 had a related patch set uploaded (by Bhsd; author: Bhsd):

[mediawiki/extensions/CodeMirror@master] Highlight tags in link text

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

Func changed the task status from Stalled to Open.Feb 19 2022, 6:12 AM

Change 763884 merged by jenkins-bot:

[mediawiki/extensions/CodeMirror@master] Highlight tags in link text

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