devlooped/NuDoq

On non-Windows OS, para render results in extra newlines

Closed this issue · 0 comments

kzu commented

We check for newlines by looking at the last two characters in the StringBuilder when rendering the text representation of nodes. This is incorrect for non-Windows since the newline is just one character, so we emit extra newlines improperly.