"Trigger Pipeline" web UI removes newlines from parameter string values

When using CircleCI’s website to manually trigger a pipeline, I’m experiencing a problem where the website seems to be stripping newlines from parameter string values (see the next comment for a screenshot). Are we really unable to pass a multiline string as a parameter value? Thanks.

I’m having to use the workaround of encoding the multi-line string as json before pasting it in to the web UI form, and then decoding it on the server-side. This is a little annoying because it means users have to run a script to get the value to paste in to the website.

I’m guessing you have javascript that strips newlines out when values are pasted, but it seems like it would be simpler just not to have that javascript.

This is what happens when you paste the multi-line string:

a
b
c
d

It results in a b c d.