Skip to content

Revert "Merge branch '11-headings-with-embedded-links-cause-huge-anchors' into 'master'"

Achilleas Pipinellis requested to merge revert-87af88b9 into master

This reverts merge request !26 (merged)

While it fixes the issue described in https://gitlab.com/gitlab-org/gitlab_kramdown/issues/11, it breaks how the tier anchors are constructed.

  • Before that change, an anchor would be ee/user/group/#user-contribution-analysis-starter
  • After that change, the anchor is ee/user/group/#user-contribution-analysis-**(starter)**

This was discovered while we bumped the gem version to use another feature (PlantUML support), and the internal anchor links test failed https://gitlab.com/gitlab-org/gitlab-docs/-/jobs/318810554.

Not sure if this should be fixed in the gem's side or Nanoc's.

cc @rymai

Merge request reports