I have an Alteryx workflow I'm running on the gallery that sends an email; occasionally the email will have random spaces in it which causes weird formatting due to bad HTML tags, or just random spaces in words. It isn't consistent when this shows up, and the majority of the time there are no errors. Is this a known issue?
I am generating a string for the body, Email_Body like so:
regex_replace("Your recent [... lots of string formulas, text and line breaks here ...]","\n","<br />")
And then in the email tool using the field Email_Body for the Body.
It will occasionally insert random spaces in the email HTML like so: ...Option: None</span><b r=""><br><span>... See the space in <b r="">; this causes the remainder of the email to be bold formatted.
Other times there will be a space in the middle of a word: "Netwo rk: "
Other times there is a space in the span tag causing the remainder of the email to be strikethrough: </span><br><s pan="">Request
Has anyone else ever encountered this? Is there a way to keep this from happening?