When the grammar application process finishes, trailing spaces are removed from the input file (sometimes). This happens at
It doesn't happen if static text is used instead of out. I've tried looking at the string in out to see if there are non-visible characters; nothing stands out. I've tried ensuring that out is not a CONS string.
Ideas welcome.
When the grammar application process finishes, trailing spaces are removed from the input file (sometimes). This happens at
code-peggy-language/client/preview.ts
Line 118 in cc2d6c4
It doesn't happen if static text is used instead of out. I've tried looking at the string in
outto see if there are non-visible characters; nothing stands out. I've tried ensuring thatoutis not a CONS string.Ideas welcome.