Posted by stplanken on July 5, 2009 at 3:16pm
Jump to:
| Project: | Page Title |
| Version: | 5.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | closed (duplicate) |
Issue Summary
See: http://drupal.org/node/456256 "" in title"
I have this problem on my D5.x site as well: page titles incorrectly appear with the HTML for quotation marks etc.
Changing line 430 from return check_plain(strip_tags($title)); to return strip_tags($title); solved it for me. (Not sure if I should have modified the status of the original report or not -- apologies and thanks for a great module.)
Comments
#1
I can confirm this fix worked for me too. Thanks for sharing.
#2
To pass the title string to
check_plain()is something that also Drupal core code does; see aggregator_page_source(), book_admin_edit(), contact_user_page().#3
I'm marking this as a duplicate of #124169: HTML entities double-escaped in titles -- as there is active discussion over there about it.
FWIW the fix above works for me too.