Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
taxonomy.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Apr 2011 at 15:28 UTC
Updated:
29 Jul 2014 at 19:31 UTC
Hi I have noticed that the function taxonomy_term_title(), used as title callback, actually performs a check_plain() on its own, determining a double escaping issue that can be seen, for instance, when creating a taxonomy which title contains an ampersand character.
Removing the check_plain() shouldn't hurt because drupal_get_title already does the job on its own, therefore output should be safe.
| Comment | File | Size | Author |
|---|---|---|---|
| taxonomy-title-double-escaping.patch | 402 bytes | omissis |
Comments
Comment #1
omissis commentedComment #2
droplet commentedfix in D8 first and backport to D7
Comment #3
damien tournoud commentedThis is already fixed in -dev. See #973328: Special characters are encoded twice in taxonomy term title