diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Markdown/Markdown.tsx | 2 |
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>; } |