Show line breaks in the previous emails table

Created on 22 February 2021, almost 4 years ago
Updated 2 November 2024, about 2 months ago

Problem/Motivation

The previous submission tab shows a list of previously sent email replies. The table displays the message, but the line breaks are not formatted, thus causing the message to show in one line.

Steps to reproduce

1. Reply to a submission and type multiple lines in the message.
2. Check the previous submission to see the sent reply.

The reply message should display line-breaks as they were in the message.

Proposed resolution

Add nl2br to the webform_email_reply_previous function.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

RTBC

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024