Revert back to the 'breaks' fix for newlines in markdown content
This commit is contained in:
@@ -20,8 +20,8 @@ function Markdown({ source }) {
|
|||||||
|
|
||||||
return <div className="markdown">
|
return <div className="markdown">
|
||||||
<Remarkable
|
<Remarkable
|
||||||
options={{html: true, typographer: true, linkify: true, linkTarget: "_blank"}}
|
options={{html: true, typographer: true, breaks: true, linkify: true, linkTarget: "_blank"}}
|
||||||
source={sanitized}
|
source={source}
|
||||||
></Remarkable>
|
></Remarkable>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
.markdown {
|
|
||||||
white-space: pre;
|
|
||||||
}
|
|
||||||
@@ -14,5 +14,4 @@
|
|||||||
@import 'information';
|
@import 'information';
|
||||||
@import 'authorize';
|
@import 'authorize';
|
||||||
@import 'errors';
|
@import 'errors';
|
||||||
@import 'markdown';
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user