浏览代码

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)
tags/v0.11.0
balibabu 1年前
父节点
当前提交
7edb4ad7dc
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      web/src/components/highlight-markdown/index.less

+ 1
- 0
web/src/components/highlight-markdown/index.less 查看文件

@@ -1,3 +1,4 @@
.text {
white-space: pre-wrap; // https://stackoverflow.com/questions/60332183/new-line-with-react-markdown
.chunkText;
}

正在加载...
取消
保存