If the validation messages are displayed as inline text, line breaks are not converted to <br /> and therefore not displayed.
All line breaks (\r\n, \n) in validation messages should be converted to <br />