Line Breaks in Webhooks not working

Description

I’m using the incoming Webhook in RocketChat to bring in data.

class Script {
  process_incoming_request({ request }) {
    var info = request.content;
    
    return {
	content: {
	attachments: [{
		title: info.notification_type,
		text: info.subject + info.message + "\nRequested by: " + info.username + "\nStatus: " + info.status,
		thumb_url: info.image
        	}]
     		 }
   	};
  }
}

For the life of me, the line breaks are only working in the mobile app. Neither the web interface in Firefox or Chrome or the Linux Desktop app are showing the data with the line breaks. It’s a small problem I know, but I’m have no business trying to do anything with code, and I’m so close to getting this to work. Can anyone help me? Am I missing something here?

Server Setup Information

  • Version of Rocket.Chat Server: 5.4.0
  • Operating System: Official Docker
  • Deployment Method: docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Yes
  • NodeJS Version: v14.19.3
  • MongoDB Version: 6.0.4 / wiredTiger (oplog Enabled)
  • Proxy: nginx
  • Firewalls involved: Unifi Dream Machine

Any additional Information