Closed (fixed)
Project:
Framework
Version:
6.x-2.6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Jun 2010 at 12:25 UTC
Updated:
4 Mar 2011 at 06:11 UTC
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
Comment #1
fietserwinMy 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)
Comment #2
andregriffin commentedFixed in Framework 3.