microsoft / microsoft/fluentui

Docs: Invalid HTML in Codepen for TreeView

Open
#30,593 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Resolution: Soft Close web-components
Dominant language
TypeScript
Stars
20.3k
Forks
2.9k
Avg merge
2d 9h
Merged PRs (30d)
46

Description

Environment Information
  • Web Components
Describe the issue:

The HTML in the CodePen Example has an incorrect closing '>', which displays an error in the Result Pane.

Actual behavior:

TreeViewCodePen

Expected behavior:

Chaning the last "<" to ">" fixes the issue.

FixedCodePen

If applicable, please provide a codepen repro:

The Codepen error is in the documentation.

Priorities and help requested (not applicable if asking question):

Are you willing to submit a PR to fix? Yes

Requested priority: Normal

Products/sites affected: (if applicable)

(https://learn.microsoft.com/en-us/fluent-ui/web-components/components/tree-view?pivots=typescript)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the TreeView documentation CodePen at the linked Microsoft Learn page and inspect its HTML in the example. Change the incorrect closing character identified in the issue, then verify that the Result Pane no longer reports invalid HTML and matches the fixed screenshot.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, typescript
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.