Page MenuHomePhabricator

q tags shouldn't be stripped in TOC headings
Closed, ResolvedPublic

Description

According to Manual:Table of contents: "All HTML in the headings is stripped in the TOC, except <sup>, <sub>, <i>, <b>, <span dir="rtl">, <span dir="ltr">"

q tag should be added to exceptions so quotes can appear in the table of contents of an article.

Discussion on frwiki

Event Timeline

Change 773353 had a related patch set uploaded (by Pols12; author: Pols12):

[mediawiki/core@master] Parser: allow Q tag in table of content items

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

Makes sense. Could you update the manual on-wiki?

Change 773353 merged by jenkins-bot:

[mediawiki/core@master] Parser: allow Q tag in table of content items

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