瀏覽代碼

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;
}

Loading…
取消
儲存