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
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3199580-2-show-line-breaks-in-the-previous-emails-table.patch | 565 bytes | jplana |
Issue fork webform_email_reply-3199580
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
jplana commentedThe attached patch should fix the display issues with line breaks.
Comment #3
jplana commentedComment #4
joelpittetThis looks good, just setting status to NR. I wish this had a 1.x branch to attach it to.
Comment #5
joelpittetYOLO?
Comment #6
arunkumarkThere is no active development for Drupal 7. I am moving this fix for the 7.x-1.x version. Kindly check the same issue is happening in 2.x version.
Comment #11
arunkumark