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

Task/lb 132 encoding problems with the body of notification emails #3775

Conversation

marticos
Copy link
Contributor

@marticos marticos commented Mar 4, 2024

Bug fix for "Save Survey Details" email.

This adds the "unescaped" parameter to the translation function to avoid escaping special characters for the body of the mail that is not supposed to be in HTML format.

This affects languages that uses apostrophes like Catalan, Portuguese and so on.

Test instructions:
Please create a survey, for example, in Catalan or use a test survey and change the main language to Catalan.
Start the survey and use the functionality "Continue later" in the survey options in the upper right corner.
Field the required forms and check your email for the translated text.

Actual result:

Gràcies per desar l'enquesta en curs...

Expected result:

Gràcies per desar l'enquesta en curs...

Thanks.

application/libraries/Save.php Outdated Show resolved Hide resolved
@marticos marticos requested a review from c-schmitz March 5, 2024 10:54
@marticos marticos merged commit 0f7cae9 into master Apr 22, 2024
20 checks passed
@marticos marticos deleted the task/LB-132-encoding-problems-with-the-body-of-notification-emails branch April 22, 2024 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants