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 09ad54a..0a71fd3 100644
--- a/src/lib/Markdown/Markdown.tsx
+++ b/src/lib/Markdown/Markdown.tsx
@@ -16,7 +16,7 @@ const Markdown: React.FC<PropTypes> = ({ data, url }) => {
}, [data, url]);
if (url) axios.get(url).then(response => setMarkdown(response.data));
- return <Section rawLines={markdown.split('\n')} />
+ return <Section rawLines={markdown.split(/\r?\n/)} />
};