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

**URL:** <https://discuss.circleci.com/t/trigger-pipeline-web-ui-removes-newlines-from-parameter-string-values/50481>\
**Category:** Bug Reports\
**Tags:** pipelines\
**Created:** [February 15, 2024, 11:06am UTC](https://discuss.circleci.com/t/trigger-pipeline-web-ui-removes-newlines-from-parameter-string-values/50481 "2024-02-15T11:06:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cjerdonek](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/cjerdonek/32/33589_2.png) [@cjerdonek](https://discuss.circleci.com/u/cjerdonek)\
**Post date:** [February 15, 2024, 11:06am UTC](https://discuss.circleci.com/t/trigger-pipeline-web-ui-removes-newlines-from-parameter-string-values/50481/1 "2024-02-15T11:06:18Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![cjerdonek](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/cjerdonek/32/33589_2.png) [@cjerdonek](https://discuss.circleci.com/u/cjerdonek)\
**Post date:** [February 17, 2024, 7:43pm UTC](https://discuss.circleci.com/t/trigger-pipeline-web-ui-removes-newlines-from-parameter-string-values/50481/2 "2024-02-17T19:43:55Z")

</div>

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:

```plaintext
a
b
c
d

```

It results in `a b c d`.

 ![Screen Shot 2024-02-17 at 11.48.02 AM](https://global.discourse-cdn.com/circleci/original/3X/b/7/b7baaa8d7c1752f7a6ddff60c5ad75c168b1c0dc.png)
