balibabu
commited on
Commit
·
1f36a03
1
Parent(s):
16cc752
fix: Make markdown support line breaks #2315 (#2343)
Browse files### What problem does this PR solve?
fix: Make markdown support line breaks #2315
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
web/src/components/highlight-markdown/index.less
CHANGED
@@ -1,3 +1,4 @@
|
|
1 |
.text {
|
|
|
2 |
.chunkText;
|
3 |
}
|
|
|
1 |
.text {
|
2 |
+
white-space: pre-wrap; // https://stackoverflow.com/questions/60332183/new-line-with-react-markdown
|
3 |
.chunkText;
|
4 |
}
|