joshswan/react-native-autolink

Do not automatically break the line if you have previously entered a newline

Closed this issue · 1 comments

I think we have an issue:
When I enter paragraphs with InputText, after rendering with AutoLink it seems to be removing break lines in the text.

Please provide some example code and steps to reproduce. The following code that contains newlines renders correctly with newlines:

<Autolink
  text={'https://github.com\n\nParagraph 2\n\nParagraph 3'}
  url
/>

Simulator Screenshot - iPhone SE (3rd generation) - 2023-07-18 at 11 17 10