Skip to content

GitLab Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
GitLab
GitLab
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 36,069
    • Issues 36,069
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 1,299
    • Merge Requests 1,299
  • Requirements
    • Requirements
    • List
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Metrics
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.org
  • GitLabGitLab
  • Issues
  • #24423

Closed
Open
Created Sep 29, 2018 by Tony Garnock-Jones@tonyg

Footnotes with "w" in the anchor don't render as footnotes!

When writing GFM with footnotes, only footnotes that have anchor text that does NOT include the letter "w" get rendered. Anchors like "a", "hello", and "testing-this" will render properly; anchors like "w", "awesome", and "not-without-a-sense-of-humor" will not render properly.

The following text demonstrates the problem:

Footnotes are only recognised sometimes.1

The problem seems to be when there's a w in the footnote anchor.[^w]

Anchors without w seem to render OK. It's just those with w that get ignored.2 [^w2] 3 [^this-is-not-awesome] 4

Here's how that renders in Firefox on Linux:

screenshot

Here's the text quoted, so you can see the source code:

Footnotes are only recognised sometimes.[^like-this]

The problem seems to be when there's a w in the footnote anchor.[^w]

Anchors without w seem to render OK. It's just those with w that get ignored.[^a] [^w2] [^a2] [^this-is-not-awesome] [^this-is-not-rad]

  [^like-this]: Like this.
  
  [^w]: This won't be rendered.
  
  [^a]: This will be rendered.
  
  [^w2]: This won't be rendered.
  
  [^a2]: This will be rendered.
  
  [^this-is-not-awesome]: This will not be rendered.
  
  [^this-is-not-rad]: This will be rendered.
  1. Like this. ↩

  2. This will be rendered. ↩

  3. This will be rendered. ↩

  4. This will be rendered. ↩

Edited Sep 29, 2018 by Tony Garnock-Jones
Assignee
Assign to
Backlog
Milestone
Backlog
Assign milestone
Time tracking
None
Due date
None
Reference: gitlab-org/gitlab#24423