The formatting on https://www.drupal.org/node/2882731 (section "user login") is buggy, most likely because an ID "user-login" is automatically added to the h3-title "user login", but #user-login has specific styling. (see screenshot)

Comments

mr.baileys created an issue. See original summary.

drumm’s picture

Project: Drupal.org customizations » Flexible Table Of Contents
Version: 7.x-3.x-dev » 7.x-2.x-dev
Assigned: Unassigned » drumm

We could work around this ID collision, but more will be inevitable. Adding a prefix to the auto-generated IDs will break some links, but I think that will be best for the long-term health of this feature.

drumm’s picture

Issue tags: +affects drupal.org
drumm’s picture

Status: Active » Needs review
StatusFileSize
new4.86 KB

This patch adds an option to configure an ID prefix for the automated IDs.

drumm’s picture

This is now deployed on Drupal.org and looks like it is working well.

mr.baileys’s picture

@drumm thanks for the quick turn-around!

  • grasmash committed 7fd476e on 7.x-2.x authored by drumm
    Issue #3077211 by drumm, mr.baileys: Formatting issue caused by...
grasmash’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.