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

Fix bug with \n translation #797

Merged
merged 1 commit into from
Jun 29, 2018
Merged

Conversation

Mike-Koder
Copy link
Contributor

This causes \n characters to be displayed more consistently by passing on required breaks when they are needed. Before this change, text in the form of "alpha\nbeta\ngamma" could be translated incorrectly in some instances, in the form of:

"alphabeta
gamma"

The expected output, which this change brings about, is:

"alpha
beta
gamma"

This causes \n characters to be displayed more consistently.
@alafr alafr merged commit 93061f3 into foliojs:master Jun 29, 2018
@alafr
Copy link
Collaborator

alafr commented Jun 29, 2018

Thanks for the fix

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

Successfully merging this pull request may close these issues.

2 participants