Could someone please look into it? The problem still exists.
Still no news, we'll update as soon as have reply here.
You can use replace function to remove unneeded \n
return fullText.replace("\n", "");
This workaround seems to do it for now, thanks!
Another question, the generated email in my app formats the 3 text components like this:
"Username" "Product" quantity
"Preston" "ProductXYZ" 16
Weirdly, the last component doesn't have any quotation marks around it. I want to unify the formatting, either with all 3 components having quotation marks or no quotation marks at all.
Using return fullText.replace(""", " ") obviously won't work.
You can use following JS code:
return fullText.replace(/"/gi, "");