HTML entities in submit button label

Created on 30 June 2020, almost 5 years ago
Updated 8 March 2025, about 1 month ago

When using HTML entities in the submit button label of a signup form, they are not decoded correctly.
For example, "S'inscrire" will be rendered as:

<input type="submit" id="edit-submit" name="op" value="S&amp;#039;inscrire" class="form-submit">

I think that is because check_plain() is called in sendinblue_signup_subscribe_form() then the string is escaped again by Drupal when rendering it.

🐛 Bug report
Status

Closed: won't fix

Version

1.7

Component

Code

Created by

🇫🇷France prudloff Lille

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

Comments & Activities

Not all content is available!

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

  • 🇫🇷France prudloff Lille

    Drupal 7 is EOL.

    (I wanted to try if this could be reproduce on the 8.x-2.0 branch but it does not have a Drupal 10 compatible release.)

Production build 0.71.5 2024