variables like $site_name and $site_logo are already escaped by Drupal. So when the theme does again, using check_plain($variable) in the template html characters appear as their html escape sequence

example: a logo like "fruits & vegetables" shows up as fruits & vegetables.

Note that the Garland theme contains the same error, but many other themes don't use check_plain() (like zen, fusion, chameleon, bluemarine, pushbutton).

Comments

fietserwin’s picture

My description above is mangled by Drupal in the opposite direction as the error indicated by me :)

fruits & vegetables appears as fruits & amp; vegetables (that is as & a m p ; but without the spaces)

andregriffin’s picture

Status: Active » Fixed

Fixed in Framework 3.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.