AnsweredAssumed Answered

Can Velocity be output without line breaks occurring?

Question asked by Courtney Grimes Expert on Aug 12, 2019
Latest reply on Aug 12, 2019 by Sanford Whiteman

I'm currently running into an issue where I'm experiencing a styling issue due to the actual line break of the output HTML. Essentially, because the Velocity output in the raw HTML of an email includes one to several line breaks, email/web clients will not correctly pick up an anchor within a span as being all together. This behavior does not happen when all content is inline.


"HTML shouldn't render differently depending on line breaks!", you say. I agree, and yet here we are: 


This behavior occurs in every major email client. Is there any way to force Velocity output to be solely inline?