I'm implementing OWASP password requirements and I was hoping to use setCustomValidity on the password HTML Input element. However, the password requirements involve a lot of complicated steps that I will need to make the user aware of.
Is there any way to apply formatting, or even newlines, to the text that appears in setCustomValidity?