Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
589 views
in Q2A Core by
Hi,

in all Emails sent by q2a (1.3.beta) on my site all newline are displayed as "\n".

Has someone an idea how to fix.
I installed q2a 5 days before and can't remember to this issue with version 1.2.

 

Oliver
by
I swtiched back to my old version 1.2 (just moved the folders).
Even there I have this problem.
But I found an old notfications email which is ok. *wounder*
by
And with the original code from you it is ok.
(Unpacked the original files)

Do youhave an idea where I have to  search?
by
The issue depents on my qa-lang/de files.

I keep on searching
by
Hello, I found my bug. I had to retranslate my qa-lang-emails.php file.

1 Answer

+1 vote
by
 
Best answer
So, just to make this question answered, the solution was probably to check that the translated language files use double quotes (") instead of single quotes ('), so that \n is interpreted as a newline instead of being inserted into the emails directly.

Welcome to the Q&A site for Question2Answer.

If you have a question about Q2A, please ask here, in English.

To report a bug, please create a new issue on Github or ask a question here with the bug tag.

If you just want to try Q2A, please use the demo site.

Categories

...