Skip to content

Tabbed content switch doesn't work if Tab name contains not plain text #2538

Closed

Description

DocFX Version Used: 2.31

Template used: default

Steps to Reproduce:

  1. Add a markdown document with text like this in the project
# [**Tab Name**](#tab/tab-id-1)
Content1 ...
# [**Tab Name**](#tab/tab-id-2)
Content2 ...
---

Note that "Tab Name" is bold

  1. Build the docfx project
  2. Open result document in a browser

Expected Behavior: Page with tabbed content that can be switched

Actual Behavior: Tabbed content can't be switched

Click event handling doesn't work if you click something other than HTMLAnchorElement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions