smart-chatbot-ui icon indicating copy to clipboard operation
smart-chatbot-ui copied to clipboard

React Markdown Not Recognizing Single \n Character as New Line

Open junrae6454 opened this issue 1 year ago • 0 comments

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.

junrae6454 avatar Jan 19 '24 07:01 junrae6454