Depend on what is better on a UI pov, but maybe a simple replacing of `\n` into `<br />` is enough (and probably faster).

Otherwise it's ok for me