If I have a top level block of code that looks like this:
const myString = oneLineTrim`
hello
world
`
This will not properly combine the lines into a single line.
If you look at the regex for oneLineTrim, it appears to need at least one space after the newline:
If I have a top level block of code that looks like this:
This will not properly combine the lines into a single line. If you look at the regex for oneLineTrim, it appears to need at least one space after the newline: