Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi all
I looked around similar issue but i've not found a solution.
I'm labeling node title with [node:field_name][node:field_surname] and when ones contains apostrophe (surname as usual) node title is so replaced "Guido D'Alonzo"
Note that both fileds are "plain text" and "field_surname" is right storaged in db (see images)
On what it can depends and wich could be a solution?
Thx
Comment | File | Size | Author |
---|---|---|---|
#5 | After.png | 82.68 KB | renatog |
#5 | Before.png | 60.63 KB | renatog |
#3 | auto_entitylabel-039-instead-apostrophe-in-node-title-2702587-3.patch | 1.01 KB | leducvin |
surname_db.png | 40.48 KB | senzaesclusiva | |
Entity Label_node_tile.png | 31.5 KB | senzaesclusiva |
Comments
Comment #2
senzaesclusiva CreditAttribution: senzaesclusiva commentedComment #3
leducvin CreditAttribution: leducvin commentedI am encountering the same issue.
Could it be related to 565922 of auto_nodetitle project ? They seem to have a patch going, but not committed yet. Could a similar patch work for auto_entitylabel ?
I tried it, and it seems to work well. Uploading patch. No credit to me, I adapted the code cafuego wrote for auto_nodetitle.
Comment #4
senzaesclusiva CreditAttribution: senzaesclusiva commentedMany thanks, it seems to work as well me too !
Comment #5
renatogHi people.
I applied the patch and Works Good for me.
Comment #6
renatogBefore:
After:
Comment #8
renatogFixed.
Good catch people. Thanks for contribution.
Commited in dev branch.
Good Work and Good Week.
Regards.