Added truncate and removeLineBreaks functions to notifs text body, removed regex from username part of notif and used split() instead.

The regex did break the notif text body. Text was rendering weirdly in the username part of the notif. Changed to using a split() function.

{{ notif.body.split(' ')[0] }}

Ref: https://stackoverflow.com/a/19503397