Fix renderDetails' line separator on Windows