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.
Apostrophes appear as & # 0 3 9 ; for example, in boxes titles. I believe this is because check_plain is called twice on box titles. I will provide a patch that fixes the issue.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1680876-html_special_chars-1.patch | 884 bytes | guillaumev |
Comments
Comment #1
guillaumev CreditAttribution: guillaumev commentedHere is the patch.
Comment #2
jwilson3This looks right, but we need to verify whether with this change, i18n_string_translate() or somewhere else along the render process, the text is passed through a check_plain at least once. We also need to see what the going consensus is on block titles (eg, are special characters permitted but html tags not?).