Can't use multiline values with shortcode paramaters

Writing some stuff to work with C3.js and working on writing shortcode for just passing raw data for cases that can’t be planned for(non-basic graphing stuff). This requires basically a chunk of json and for sanity purposes spreading it over multiple lines.

{{% chart-generateraw raw="
test

"  %}}

results in

Building sites … ERROR 2018/10/03 02:15:03 posts/graphing.org:22: unterminated quoted string in shortcode parameter-argument: '
'

The shortcode is…

<script>
var chart = c3.generate({
        {{ .Get "raw" }}
});
</script>

You need to pass that as the Inner content.