Thanks Cameron, my understanding was that the system was updated to allow multi-line environment variables to now be used; I am guessing that while the dashboard now supports this and no longer strips newlines, the backend does not.
I’ll replace newlines with spaces for the moment as I worked around this previous dashboard behaviour in the past but would it be a good idea to revert the dashboard to prevent this?