dotneet / smart-chatbot-ui

An open source ChatGPT UI.
https://smart-chatbot-ui.vercel.app/
MIT License
471 stars 97 forks source link

React Markdown Not Recognizing Single \n Character as New Line #190

Open junrae6454 opened 8 months ago

junrae6454 commented 8 months ago

Hello,

I would like to raise an issue encountered while using the React Markdown library. Currently, a single \n character is not being recognized as a new line. This issue significantly impacts text formatting and makes it challenging for developers to display text as intended.

Steps to Reproduce the Issue:

  1. Render text of model output Include a \n character using the React Markdown library.
  2. Observe that the \n character does not result in a new line in the rendered output.

I would appreciate any solutions to this problem or information.

Thank you.