ragflow/web/src/components/highlight-markdown/index.less
balibabu 7edb4ad7dc
fix: Make markdown support line breaks #2315 (#2343)
### 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)
2024-09-10 12:15:02 +08:00

4 lines
126 B
Text

.text {
white-space: pre-wrap; // https://stackoverflow.com/questions/60332183/new-line-with-react-markdown
.chunkText;
}