Add text parsing for newlines & icons to DOM text