I send by mail the code generated in js, when a letter arrives in gmail, it displays it in no way accustomed 
By trial and error, I figured out that this bug, if you take the html that issued js, align it with line breaks, then everything is perfectly displayed.
If I send html in the form of text, then there is such a thing 
tolley Google translates the string and at this moment mows, toli it needs some kind of newline character special ... As you can see in the code, I only have it in several places, and the code is completely all the same and generated in a loop so the problem is not in the encoding and in line breaks
How can I overcome this bug? Who has ideas?