From 69f815e635eef5c05e1b4e679b4b675aae2d389d Mon Sep 17 00:00:00 2001 From: Evan Jacobs Date: Tue, 12 Nov 2024 23:22:11 -0500 Subject: [PATCH] fix: map class -> className Fixes #606 --- .changeset/chatty-waves-invite.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/chatty-waves-invite.md diff --git a/.changeset/chatty-waves-invite.md b/.changeset/chatty-waves-invite.md new file mode 100644 index 00000000..62d60dca --- /dev/null +++ b/.changeset/chatty-waves-invite.md @@ -0,0 +1,5 @@ +--- +'markdown-to-jsx': patch +--- + +Handle `class` attribute from arbitrary HTML properly to avoid React warnings.