XWIKI-22706: The text on registration page is cut after applying invalid input
* Trimmed the output of the validation script so that it doesn't disturb the layout when there's no error message.
Loading
* Trimmed the output of the validation script so that it doesn't disturb the layout when there's no error message.
mentioned in commit a2067319