html tags added in slogan site field are visible in the browser's title.
just add strip_tags() to $head_title in page.tpl.php in the fusion core folder to fix that.

CommentFileSizeAuthor
#3 Fusion-strip-slogan-868572.patch944 bytescoltrane

Comments

jeremycaldwell’s picture

Assigned: Unassigned » sociotech
coltrane’s picture

There's an out of date core issue about this #340358: Theme variable head_title needs strip_tags for site_slogan but looking at http://api.drupal.org/api/drupal/includes--theme.inc/function/template_p... makes me think Fusion core could replicate the creation of $vars['head_title'] itself and call strip_tags().

coltrane’s picture

Status: Active » Needs review
StatusFileSize
new944 bytes

This patch reproduces $head_title with the slogan stripped of tags. I also made node that it's unnecessary to sanitize (check_plain) the variables as they require a super-admin permission anyways to set.

stephthegeek’s picture

Assigned: sociotech » aquariumtap
aquariumtap’s picture

Status: Needs review » Closed (fixed)

Committed. Thanks!

sheena_d’s picture

Looks like this patch is overwriting the page titles created by modules such as Page Title.

http://drupal.org/node/1144188