mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-01 14:59:50 +00:00
Text blocks use \n as their separator on all platforms. Update withLineSeparatorUsesLineSeparator() to replace \n rather than System.lineSeparator() createPrinterWhenStandardAppliesCustomizations() limits the length of the output. On Windows, the default \r\n line separator uses an extra byte per separator compared to \n. Configure the printer to use \n as a line separator so that non-whitespace output is the same on all platforms. See gh-43864