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

\n not working in android #7

Closed
vivekgidmare opened this issue Jan 16, 2015 · 5 comments
Closed

\n not working in android #7

vivekgidmare opened this issue Jan 16, 2015 · 5 comments

Comments

@vivekgidmare
Copy link

\n using for new line is not working on android same code is working on iOS

@vivekgidmare
Copy link
Author

use "<"br">" instead of \n in android for new line

@FokkeZB
Copy link
Collaborator

FokkeZB commented Jan 16, 2015

Glad you found a workaround but I'd rather make it cross platform identical. Reopening.

@FokkeZB FokkeZB reopened this Jan 16, 2015
@vivekgidmare
Copy link
Author

Ok that would be great to avoid platform specific code.

@FokkeZB
Copy link
Collaborator

FokkeZB commented Jan 20, 2015

I guess we should not alter how html works for Android. So then the proper thing to do would be to strip out \n|\r for iOS, so you need to use <br /> there as well.

@beaur
Copy link

beaur commented Jul 10, 2015

I'd like to see cross platform support for <br> tags, possibly also a way to convert <p> tags to <br> as well.

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

3 participants