Names having a apostrophe like O'Leary show a & # 0 3 9 ; instead of a apostrophe. I put spaces so that it show the characters instead of the apostrophe.

Comments

ziggyk’s picture

Can anyone help?

Anonymous’s picture

Hi, I got stuck on the same problem. At the moment the only method I know of is to parse the text through html_entity_decode().

E.g.
$output .= l(html_entity_decode($node->title, ENT_QUOTES), "node/$node->nid");

This will ensure the quotes are displayed properly but it takes forever to insert it in all the right places.

Please let me know if you find a better way.

removemeplease’s picture

I had the same problem with the $head_title variable so in template.php I added the following to the phptemplate_preprocess_page() function:

$vars['head_title'] = html_entity_decode($vars['head_title'], ENT_QUOTES);

It was a lot easier than replacing all instances of the $head_title variable.

summit’s picture

I have this also in head-title in D6

Renee S’s picture

Crap. Sorry. Wrong issue. :)

angelsmit’s picture

Issue summary: View changes

To solve this, when entering your text use the Alt + 0180. (Hold the alt key down while typing 0180, then release) It produces the closest appearance to apostrophe.

sp_key’s picture

I have the same issue with Drupal 7 using CKEditor.
Any solutions for this issue?

vm’s picture

Status: Active » Closed (won't fix)

This module has been obsoleted per its project page. comment #8 has nothing to do with the Drupal 5 module in which it is included.

Closing the issue.