diff --git a/article_content.png b/article_content.png new file mode 100644 index 0000000..677c754 Binary files /dev/null and b/article_content.png differ diff --git a/client/src/pages/Article.tsx b/client/src/pages/Article.tsx index da04b2d..129b670 100644 --- a/client/src/pages/Article.tsx +++ b/client/src/pages/Article.tsx @@ -191,29 +191,27 @@ export default function Article() { )} -
-
- {parseArticleContent(article.content).map((part, index) => { - if (part.type === 'section') { - return ( -

- {part.content} -

- ); - } +
+ {parseArticleContent(article.content).map((part, index) => { + if (part.type === 'section') { return ( -

+

{part.content} -

+

); - })} -
+ } + return ( +

+ {part.content} +

+ ); + })}