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

Google Translator: Handles line breaks #567

Merged
merged 1 commit into from
May 10, 2024
Merged

Conversation

davidwessman
Copy link
Collaborator

  • Line breaks are not kept when translating html content via Google Translate
  • Therefore we transform \n into a placeholder and then back after
    translating
  • Fixes Google Translate removes newlines #566

- Line breaks are not kept when translating html content via Google Translate
- Therefore we transform `\n` into a placeholder and then back after
  translating
- Fixes #566
@glebm glebm merged commit 7bf71a5 into main May 10, 2024
6 of 7 checks passed
@glebm glebm deleted the google-translate-newlines branch May 10, 2024 02:32
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.

Google Translate removes newlines
2 participants