Closed (fixed)
Project:
Omega
Version:
7.x-2.0-alpha7
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
22 Nov 2010 at 16:14 UTC
Updated:
27 Jan 2011 at 15:10 UTC
In my D7 Omega subtheme, I am finding that I am getting html entities in page titles.
preprocess-html.inc ends with this line ...
$vars['head_title'] = strip_tags($vars['head_title']); // Remove any potential html tags
But it seems to be too late.
Doing the strip tags before the calls to drupal_set_title does work however.
Comments
Comment #1
himerus commentedFixed in this commit. http://drupal.org/cvs?commit=457518
Moved all strip_tags calls to the internal sections before drupal_set_title is called.
Will be added to alpha 4 release.
Comment #2
himerus commentedComment #4
Daniel Norton commentedIf this was actually fixed in alpha4, it is regressed in alpha7.
Comment #5
Daniel Norton commentedcorrect issue title
Comment #6
himerus commentedOkay, not sure what was going on here, but I changed up the title displays in preprocess_html using the same methods in template_preprocess_page().
This should solve the issue moving forward, and has been committed to the dev version; will be tagged in alpha8