My site slogan is 'Leaning & Development', however the & is not being being html encoded as &
Page titles with '&' in are correctly encoded.

Comments

First line should have read
'My site slogan is 'Leaning & Development', however the & is not being being html encoded as &

Version:6.x-2.0» 6.x-2.x-dev
Assigned:Unassigned» nicholasThompson
Priority:Normal» Critical

I'll take a look - thanks.

Version:6.x-2.x-dev» 5.x-2.x-dev
Status:Active» Patch (to be ported)

Fixed in commit http://drupal.org/cvs?commit=195366
Will be in DRUPAL-6--2-1

Fix needs porting...

Status:Patch (to be ported)» Fixed

Fix is present in DRUPAL-5--2 and DRUPAL-6--2... Marking as fixed.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Version:5.x-2.x-dev» 6.x-2.2
Assigned:nicholasThompson» Unassigned
Priority:Critical» Normal
Status:Closed (fixed)» Needs review
StatusFileSize
new367 bytes

Not fully fixed - see patch attached

StatusFileSize
new379 bytes

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)));

Peter

Title:Site slogan in <title> is not being encodedHTML tags and entities shown in <title>
Version:6.x-2.2» 7.x-2.x-dev
Status:Needs review» Needs work

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.

  1. Enable Page Title
  2. Disable Overlay
  3. Edit any node
  4. Check the page title to see: <em>[Content Type]</em> - [Node Title]

Priority:Normal» Major

same here