My site slogan is 'Leaning & Development', however the & is not being being html encoded as &
Page titles with '&' in are correctly encoded.
First line should have read
'My site slogan is 'Leaning & Development', however the & is not being being html encoded as &
I'll take a look - thanks.
Fixed in commit http://drupal.org/cvs?commit=195366
Will be in DRUPAL-6--2-1
Fix needs porting...
Fix is present in DRUPAL-5--2 and DRUPAL-6--2... Marking as fixed.
Automatically closed -- issue fixed for 2 weeks with no activity.
Not fully fixed - see patch attached
Sorry, error in patch file (and can't edit attachments) - this one should be correct
I believe that was removed as it has a tendency to double-encode...
Ah yes - it does double encode the node title, but require this patch to get the site slogan (as defined in the original issue at the top) to encode properly.
It's a hacked solution, but I can get the script to encode my <title>'s properly by using this as the return at the end of page_title_page_get_title():
447: return check_plain(html_entity_decode(strip_tags($title)));
I'm surprised this problem still exists. I set #1278262: HTML in page title and #1285122: HTML Entities in Title as dupes of this.
I get HTML in the page title simply by enabling this module.
Drupal is a registered trademark of Dries Buytaert.