Block starting with HTML tag interpreted as one JSX component #611
Labels
🗄 area/interface
This affects the public interface
💪 phase/solved
Post is done
🧑 semver/major
This is a change
🦋 type/enhancement
This is great to have
Subject of the issue
I stumbled opon this bug recently: A block starting with a HTML tag, like in the example below, is interpreted as one JSX component.
Output from ASTExplorer (using
mdxhast-0.20.2
):Your environment
macOS Mojave.
npm ls | grep "mdx"
:Expected behaviour
A JSX element for the
<sup>
tag, followed by plain text.Actual behaviour
Text becomes part of the JSX element.
The text was updated successfully, but these errors were encountered: