Skip to content

Commit 914b21f

Browse files
committed
Revert back to the 'breaks' fix for newlines in markdown content
1 parent b11399a commit 914b21f

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

src/core/components/providers/markdown.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ function Markdown({ source }) {
2020

2121
return <div className="markdown">
2222
<Remarkable
23-
options={{html: true, typographer: true, linkify: true, linkTarget: "_blank"}}
24-
source={sanitized}
23+
options={{html: true, typographer: true, breaks: true, linkify: true, linkTarget: "_blank"}}
24+
source={source}
2525
></Remarkable>
2626
</div>
2727
}

src/style/_markdown.scss

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/style/main.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,4 @@
1414
@import 'information';
1515
@import 'authorize';
1616
@import 'errors';
17-
@import 'markdown';
1817
}

0 commit comments

Comments
 (0)