Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Newline not actually on a new line #44

Closed
mcampsall opened this issue May 8, 2018 · 5 comments
Closed

Newline not actually on a new line #44

mcampsall opened this issue May 8, 2018 · 5 comments

Comments

@mcampsall
Copy link

mcampsall commented May 8, 2018

Thanks so much for the library!

I do have an issue though, given the string: "Word\nWord\nWord" the output looks like:
image

This is only the case if the strings will all fit on one line.

Given the string: "This is a line. Is it long enough to stay?\nThis is a line. Is it long enough to stay?\nThis is a line. Is it long enough to stay?" the output looks like:

image

Is there something I can do to get newlines to actually go on a new line?

@mientjan
Copy link
Owner

mientjan commented May 8, 2018 via email

@mcampsall
Copy link
Author

I think I am still on 3.1...
"react-native-markdown-renderer": "^3.1.0",

@mcampsall
Copy link
Author

updated to 3.2 and the issue is still there

@mcampsall
Copy link
Author

screen shot 2018-05-15 at 1 19 13 pm

There is a strange space that gets added to the bottom of text as shown by the inspector in this pic. This only happens with a single `/n` and not `\n\n`

@mientjan
Copy link
Owner

mientjan commented Jun 4, 2018

deployed in v3.2.2, thx for pointing this out. Sorry it took to long.

@mientjan mientjan closed this as completed Jun 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants