-
-
Notifications
You must be signed in to change notification settings - Fork 913
Closed
Labels
🐛 type/bugThis is a problemThis is a problem👶 semver/patchThis is a backwards-compatible fixThis is a backwards-compatible fix💪 phase/solvedPost is donePost is done🗄 area/interfaceThis affects the public interfaceThis affects the public interface
Description
Hello everyone,
we are using the latest version of react-markdown
in combination with the remark-gfm
plugin and are experiencing crashes when trying to display a bold list item with a checkbox. It actually happens with any formatted text after the checkbox.
Let me know if this is the right place to raise this issue or if this is rather remark-gfm
related.
Your environment
Steps to reproduce
Use the following string in a markdown component.
- [ ] **important task**
Expected behavior
A bold list item with a checkbox is rendered.
Actual behavior
Uncaught Error: TextRenderer(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.
The above error occurred in the <TextRenderer> component:
in TextRenderer (created by ReactMarkdown)
in li (created by ListItem)
in ListItem (created by ReactMarkdown)
in ul (created by List)
in List (created by ReactMarkdown)
in Root (created by ReactMarkdown)
in ReactMarkdown (at markdown.tsx:13)
Metadata
Metadata
Assignees
Labels
🐛 type/bugThis is a problemThis is a problem👶 semver/patchThis is a backwards-compatible fixThis is a backwards-compatible fix💪 phase/solvedPost is donePost is done🗄 area/interfaceThis affects the public interfaceThis affects the public interface