Skip to content

Name Anchor links work in Editor, but do not on actual page #1513

@uxinkc

Description

@uxinkc

Describe the bug
When I create a named anchor to scroll to a specific section on the page, the named anchor works in the Wiki Editor preview panel, but when saved and viewing the actual page, the named anchor does not work.

To Reproduce
Steps to reproduce the behavior:

  1. Navigate to page
  2. Click on Edit Page button in lower right corner
  3. Add a named anchor <a name="myAnchor">My Anchor</a>
  4. Further down the page add <a href="#myAnchor">Got to Anchor</a>

Screen shots
Screen Shot 2020-02-21 at 8 39 18 AM

Screen Shot 2020-02-21 at 8 40 29 AM

Screen Shot 2020-02-21 at 8 41 47 AM

Screen Shot 2020-02-21 at 8 42 33 AM

Expected behavior
Scrolling up to the named anchor.

Additional context
I have tried using both HTML and Markdown syntax, but neither work in the actual page, but BOTH work in the Editor View.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcontrib-mediumMedium dev difficulty for contribution

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions