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.
The thank you page uses filter_xss
on the string provided on the admin interface. That takes away all <br>
tags.
To create a nicer looking page, I added some allowed tags in the page callback.
In the $default_thank_you_message
I replaced the \n
with <br>
Comment | File | Size | Author |
---|---|---|---|
#4 | thankyoupage.patch | 627 bytes | k4v |
#2 | allow_some_html_on_the-2819999-2.patch | 1.47 KB | k4v |
Comments
Comment #2
k4v CreditAttribution: k4v as a volunteer commentedComment #3
k4v CreditAttribution: k4v as a volunteer commentedComment #4
k4v CreditAttribution: k4v as a volunteer commentedThe dev version does not show the "thank you page" at the moment. Just for my own reference I upload a patch here to remove the comment from the drupal_goto.