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.
On the final page of an installation, Drupal shows the following title:
drupal_set_title(st('@drupal installation complete', array('@drupal' => drupal_install_profile_name())))
This results in stuff like "Arancaytar's custom profile
" in the HTML source.
The @ placeholder escapes special characters through check_plain. When passing the result of a check_plain to drupal_set_title, the second argument must be set to PASS_THROUGH.
Well, or the placeholder could be changed to "!", but I think the first is the correct approach.
Comment | File | Size | Author |
---|---|---|---|
#1 | install-profile-name-passthrough-561278-1.patch | 1.12 KB | cburschka |
Comments
Comment #1
cburschkaAdded a PASS_THROUGH.
Comment #2
Damien Tournoud CreditAttribution: Damien Tournoud commentedMakes sense.
Comment #3
webchickCommitted to HEAD. Thanks!