Closed
Description
Subject of the issue
Say I have a MDX file with this frontmatter:
--- title: Code Splitting related: - title: <link rel="prefetch/preload" > in webpack url: https://medium.com/webpack/link-rel-prefetch-preload-in-webpack-51a52358f84c ---
Note that the <link >
was not closed.
Now eslint would report Parsing error: Expected corresponding JSX closing tag for <link>
. Which seems wrong to me. A related comment is here webpack/webpack.js.org#5312 (comment).
Your environment
- OS:
- Packages:
- Env:
Steps to reproduce
- clone https://github.com/webpack/webpack.js.org
- open
src/content/guides/code-splitting.mdx
and replace the/>
with>
in the related part of frontmatter.
FYI, I've tried the latest version #334 (comment) with no luck.
Expected behaviour
No error.
Actual behaviour
An error was shown because frontmatter is targetted.