Closed (fixed)
Project:
Fusion
Version:
6.x-1.0
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
29 Jul 2010 at 14:34 UTC
Updated:
2 May 2011 at 13:31 UTC
Jump to comment: Most recent file
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.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | Fusion-strip-slogan-868572.patch | 944 bytes | coltrane |
Comments
Comment #1
jeremycaldwell commentedComment #2
coltraneThere'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().Comment #3
coltraneThis 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.
Comment #4
stephthegeek commentedComment #5
aquariumtap commentedCommitted. Thanks!
Comment #6
sheena_d commentedLooks like this patch is overwriting the page titles created by modules such as Page Title.
http://drupal.org/node/1144188