Add new lines in artifacts

Hey everyone,

I’m trying to pass some custom messages back through to Tower using Artifacts, but I’m struggling to find a way to include new lines instead of new line characters (\n).

Basically I’d like to be able to pass this to an artifact:

“test test
test test”

And get this out:

{‘art1’: ‘test test
test test\n’}

But instead I get this:

{‘art1’: ‘test test\ntest test\n’}

So far I’ve tried replacing \n with \n and vice versa, I’ve tried passing new lines to the string itself as well as including \n’s. But nothing seems to work and I have no idea where to go for this.

If it’s even possible, anyone have any idea how to go about this?