title: How to send multi line string in json in GitHub actions?
body: <p>I am working on GitHub actions, and I have a case where I need to send a multiline string as json. I am getting some unexpected token error.</p>
  <p>This is my test.md and
  workflow:</p>
  <pre><code>---------------------------
    **test**
    - update something
    - another (update)
    
    **test2**
    - Add `test` to param
    
  </code></pre>
  <pre><code>steps:
      - uses: actions/checkout@v2
      - name: Get Log
        id: getLog
        run: |
          CHANGELOG=&quot;$(cat test.md)&quot;
          CHANGELOG=&quot;$($CHANGELOG//'%'/'%25')&quot;
          CHANGELOG=&quot;$($CHANGELOG//$'\n'/'%0A')&quot; 
          CHANGELOG=&quot;$($CHANGELOG//$'\r'/'%0D')&quot;
          echo &quot;::set-output name=changeLog::$CHANGELOG&quot;
      - name: Invoke CLI workflow with changelog
        uses: benc-uk/workflow-dispatch@v1
        with:
          workflow: Workflow publish
          token: ${{ secrets.TOKEN }}
          repo: repo/name
          inputs: '{ &quot;changeLog&quot;: &quot;${{steps.getLog.outputs.changeLog}}&quot;}'
  
  </code></pre>
  <p>I am getting an unexpected token error. How solve this?</p>
  <p>Thanks in advance</p>