Add a comment in the header that EOL will be replaced with spaces.
It might also be useful to replace two spaces "  " with one space " ".