Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No markdown processing if list item starts with html tag #8945

Closed
5 of 7 tasks
reliak opened this issue Apr 28, 2023 · 1 comment
Closed
5 of 7 tasks

No markdown processing if list item starts with html tag #8945

reliak opened this issue Apr 28, 2023 · 1 comment
Labels
closed: duplicate This issue or pull request already exists in another issue or pull request

Comments

@reliak
Copy link

reliak commented Apr 28, 2023

Have you read the Contributing Guidelines on issues?

Prerequisites

  • I'm using the latest version of Docusaurus.
  • I have tried the npm run clear or yarn clear command.
  • I have tried rm -rf node_modules yarn.lock package-lock.json and re-installing packages.
  • I have tried creating a repro with https://new.docusaurus.io.
  • I have read the console error message carefully (if applicable).

Description

When a markdown list item starts with an html tag, the rest of the list item text is not processed by markdown.

Reproducible demo

No response

Steps to reproduce

Make a list:

Some list

- <kbd>G</kbd>: **G** key
- x<kbd>G</kbd>: **G** key

Expected behavior

Markdown processing should be triggered for all of the above list items.

Actual behavior

Markdown processing is only triggered for the second list item (which does not start with an html tag).

Your environment

No response

Self-service

  • I'd be willing to fix this bug myself.
@reliak reliak added bug An error in the Docusaurus core causing instability or issues with its execution status: needs triage This issue has not been triaged by maintainers labels Apr 28, 2023
@slorber
Copy link
Collaborator

slorber commented Apr 28, 2023

Fixed by MDX 2 (upcoming Docusaurus v3): #8288

Try this in:

@slorber slorber closed this as not planned Won't fix, can't repro, duplicate, stale Apr 28, 2023
@slorber slorber added closed: duplicate This issue or pull request already exists in another issue or pull request and removed bug An error in the Docusaurus core causing instability or issues with its execution status: needs triage This issue has not been triaged by maintainers labels Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed: duplicate This issue or pull request already exists in another issue or pull request
Projects
None yet
Development

No branches or pull requests

2 participants