fix(v2): avoid misuse section tag in blog posts (#4147)

This commit is contained in:
Alexey Pyltsyn 2021-02-01 20:15:41 +03:00 committed by GitHub
parent 09284187f1
commit fd17476c3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,9 +110,9 @@ function BlogPostItem(props: Props): JSX.Element {
<article className={!isBlogPostPage ? 'margin-bottom--xl' : undefined}>
{renderPostHeader()}
<section className="markdown">
<div className="markdown">
<MDXProvider components={MDXComponents}>{children}</MDXProvider>
</section>
</div>
{(tags.length > 0 || truncated) && (
<footer className="row margin-vert--lg">
{tags.length > 0 && (