dotneet/smart-chatbot-ui

React Markdown Not Recognizing Single \n Character as New Line

Opened this issue · 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.