Skip to content

docs(locator): drop type markup from ariaSnapshotJSON details - #42136

Open
Simon Knott (Skn0tt) wants to merge 1 commit into
microsoft:mainfrom
Skn0tt:skn0tt-diagnose-playwright-dev-pr
Open

docs(locator): drop type markup from ariaSnapshotJSON details#42136
Simon Knott (Skn0tt) wants to merge 1 commit into
microsoft:mainfrom
Skn0tt:skn0tt-diagnose-playwright-dev-pr

Conversation

@Skn0tt

Copy link
Copy Markdown
Member

The freeform Details list on locator.ariaSnapshotJSON used <[string]> / <[Object]> type markup. That syntax only gets escaped when it goes through the structured property renderer - in plain prose it lands in the MDX as-is and Docusaurus chokes on it (Unexpected character '[').

That's what's breaking the docs roll: microsoft/playwright.dev#2115

Dropped the type annotations and left the field names + descriptions.

Freeform Details prose is not run through the type renderer, so
<[string]> survives into the MDX and breaks the Docusaurus build.

microsoft/playwright.dev#2115

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: fd622800-f8e4-4a94-8f6d-73bdacd2f1d5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant