Page MenuHomePhabricator

Table of contents looks weird when only one lead section
Closed, ResolvedPublic


On this article
A table of contents appears after all the headings. This seems a little weird.
Expected: Should be above first heading.

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:05 AM
bzimport set Reference to bz60478.
bzimport added a subscriber: Unknown Object (MLST).

Maybe related to bug 60479 ?

bingle-admin wrote:

Prioritization and scheduling of this bug is tracked on Mingle card

jgonera wrote:

This is because the page uses h3 as section headings. Fix for this should also fix bug 60479.

It seems a suitable workaround for time being would be to either:

  1. Not show the table of contents
  2. Insert table of contents before first h2/h3/h4/h5

Maryana any guidance so we can get this bug fixed or closed as wont fix ?

In the Android app we disable the ToC if there's only one section, fwiw.

Change 137836 had a related patch set uploaded by Jdlrobson:
Collapse on the highest available heading level

Change 137836 merged by jenkins-bot:
Collapse on the highest available heading level