aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Markdown/Markdown.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Markdown/Markdown.tsx')
-rw-r--r--src/lib/Markdown/Markdown.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Markdown/Markdown.tsx b/src/lib/Markdown/Markdown.tsx
index b3119f1..332d08c 100644
--- a/src/lib/Markdown/Markdown.tsx
+++ b/src/lib/Markdown/Markdown.tsx
@@ -19,7 +19,7 @@ const header = (level: number): string => {
}
const Content: React.FC<RawLinesPropType> = ({ rawLines }) => {
- const plainText = rawLines.join();
+ const plainText = rawLines.map(line => <p> {line} </p>);
return <p> {plainText} </p>;
}