RE: Keywords and invalid 0 lines
2025-11-03, 18:06 (This post was last modified: 2025-11-03, 18:08 by Orion Pobursky.)
2025-11-03, 18:06 (This post was last modified: 2025-11-03, 18:08 by Orion Pobursky.)
Rene Rechthaler Wrote: if a line gets edited empty, will two consecutive empty lines also get shortened to one empty line?
(and empty last lines could be always deleted)
Peter Blomberg Wrote: Sure, if you account for random whitespace after the "0" or the "0 //"
All submitted files get the following processing:
- Non-standard UTF-8 encoding gets fixed
- Extra white space on the front and back of the whole file is trimmed
- All line endings are changed to unix style (make it easier edit in code, they get changed back when downloaded)
- Extra white space on the front and back of each line is trimmed
- Multiple, consecutive newlines are squished into one new line.
- Except for the first line (the description), all extra white space between non-whitespace characters is squished to one space
Peter Blomberg Wrote: Can this be done also for all official files? (without having the go through the review process)
A script has been written to do just this.
