Skip to content

Conversation

apetresc
Copy link
Member

@apetresc apetresc commented Sep 4, 2022

The API change in react-markdown 6.0.0 was a little deeper than I though, the renderers need to be converted to "components" according to their HTML entity types rather than their abstract markdown names.

Fixes #898.

And fix change to treatment of text nodes
This allows us to go all the way up to 8.0.0 without the breakages from before.
@apetresc apetresc added this to the v0.52.2 milestone Sep 4, 2022
@apetresc apetresc self-assigned this Sep 4, 2022
@apetresc apetresc merged commit 003d60c into master Sep 4, 2022
@apetresc apetresc deleted the 898-fix-react-markdown branch September 4, 2022 02:38
yongxin12 pushed a commit to yongxin12/Sabaki-web-test that referenced this pull request Aug 30, 2025
* Revert "Bump react-markdown from 3.6.0 to 8.0.3 (SabakiHQ#865)"

This reverts commit e80d376.

* Bump react-markdown incrementally to 4.0.0

And fix change to treatment of text nodes

* Adapt to react-markdown 6.0.0 breaking changes

This allows us to go all the way up to 8.0.0 without the breakages from before.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Play number markup in comments is not being rendered into links
1 participant