summaryrefslogtreecommitdiff
path: root/modules/taxonomy
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2011-01-18 18:48:59 +0000
committerDries Buytaert <dries@buytaert.net>2011-01-18 18:48:59 +0000
commit6095aeef34eaf83125f019bc76969b6004247836 (patch)
treeafdb454fdb76ee80a92cd56614552fbe1fd0b7b1 /modules/taxonomy
parent1750dba6b6449bf6352572d9425866332ad9ca4e (diff)
downloadbrdo-6095aeef34eaf83125f019bc76969b6004247836.tar.gz
brdo-6095aeef34eaf83125f019bc76969b6004247836.tar.bz2
- Patch #973328 by gopherspidey, amateescu: special characters are encoded twice in taxonomy term title.
Diffstat (limited to 'modules/taxonomy')
-rw-r--r--modules/taxonomy/taxonomy.module3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index 9a1228a37..6cacb25f3 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -1467,11 +1467,12 @@ function taxonomy_field_formatter_prepare_view($entity_type, $entities, $field,
*
* @param $term
* A term object.
+ *
* @return
* The term name to be used as the page title.
*/
function taxonomy_term_title($term) {
- return check_plain($term->name);
+ return $term->name;
}
/**