Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Webform module output submission data in multiple formats including HTML, plain text, and email using render array, tokens, and Twig. By default, Drupal 8 escapes all HTML tags, which is causing issues for plain text emails.
Proposed resolution
Write dedicated rendering tests
Remaining tasks
- List all possible render scenarios
- Document what is being rendered where
- Make sure email is always consider SafeMarkup
- Write dedicated test form
- Clean update the Webform module rendering pipeline
- Write tests
Comment | File | Size | Author |
---|---|---|---|
#29 | 2922896-rendering-tests-30.patch | 52.26 KB | jrockowitz |
| |||
#26 | 2922896-rendering-tests-27.patch | 52.08 KB | jrockowitz |
#24 | 2922896-rendering-tests-24.patch | 51.56 KB | jrockowitz |
#20 | 2922896-rendering-tests-20.patch | 46.35 KB | jrockowitz |
| |||
#17 | 2922896-rendering-tests-17.patch | 31.06 KB | jrockowitz |
|
Comments
Comment #2
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedComment #4
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedComment #8
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedComment #11
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedComment #14
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedComment #17
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedComment #20
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedComment #22
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedComment #24
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedComment #26
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedComment #29
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedComment #31
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commented