Parcourir la source

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 il y a 1 an
Parent
révision
7edb4ad7dc
Aucun compte lié à l'adresse e-mail de l'auteur
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1
    0
      web/src/components/highlight-markdown/index.less

+ 1
- 0
web/src/components/highlight-markdown/index.less Voir le fichier

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

Chargement…
Annuler
Enregistrer