Passing rich text through ZML to print using HTML code (SVG)

Passing rich text through ZML to print using HTML code (SVG)

Hi!

I'd like to pass information from a rich text field to HTML code that I have embedded into a snippet on one of my pages. 

I currently use a single line variable, then pass that information through a custom function that I created to wrap text (cuts off after a certain number of characters and creates a "new line" by adding it as the next element in a list) So I end up with a list of 2-3 elements which represent each line of my text being displayed in my HTML code.

Wondering if there is a more efficient way to do this. either with rich text or a multi-line variable.

The wrap text function is't super smooth, so even any advice on wrapping text quickly would be great!