Closed (won't fix)
Project:
Token
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Apr 2008 at 13:25 UTC
Updated:
5 Jan 2011 at 17:19 UTC
I'm using Token with Automatic Nodetitles to automatically generate a node title for a created content type. One of the token replacement patterns is a CCK node reference field. For some of the nodes, this field contains an apostrophe as in "Saint Mark's Choir". The generated title for the node however doesn't display the apostrophe; instead it replaces it with "'" (minus quotes). The name of the particular pattern I'm using is [field_performer-title]. I've also tried [field_performer-link] but get the same results. I have the current dev version of Token, Automatic Nodetitles, and CCK. I'm not sure where the issue lies, so I'll copy this issue to the A.N. issue queue as well.
Comments
Comment #1
dzazi commentedI'm having an issue with this as well...
It seems like the [nodereference_field-title] is outputting the view of the referenced node (as chosen in the display fields options) rather than the title as expected, and thus double encoding the html entity for " ' ".
I think this issue ( http://drupal.org/node/192502 ) and patch is related, but the maintainer doesn't seem to want to apply it to the 5.x branch of token and wants it fixed in the 6.x branch of CCK instead.
Comment #2
dave reidComment #3
dave reidD5 is now unsupported, as well as Token module for D5.