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.
I have an ampersand in the title of my Drupal installation, which causes the following problem:
- if entered as & all is fine, but the whole site now no longer passes W3C validation (XHTML)
- if entered as &
the validation works, but RSS feeds and services such as technorati show &
in the title instead of &, which looks really nasty
Comments
Comment #1
vkareh CreditAttribution: vkareh commentedI have a somewhat similar issue. In the website slogan, I would like to have markups for emphasizing a certain word of the slogan. It renders nicely on the website, but the title bar in the web browser displays the markup tags. It should hide it instead.
Comment #2
mdupontSeems a duplicate of #82751: Allow some HTML tags in node titles. I agree this is more of a bug report than a feature request.
Comment #3
Heine CreditAttribution: Heine commentedThis is not a duplicate. #82751: Allow some HTML tags in node titles is a feature request, the trouble with w3c validation and RSS feeds is a bug.
Comment #4
grendzy CreditAttribution: grendzy commentedsee #461938: Core should consistently filter_xss_admin() on $site_slogan and check_plain $site_name