New line to BR

Replace every new line character with a html br tag
Input
Trim
Output