Skip to content
Snippets Groups Projects
Commit 6095aeef authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #973328 by gopherspidey, amateescu: special characters are encoded...

- Patch #973328 by gopherspidey, amateescu: special characters are encoded twice in taxonomy term title.
parent 1750dba6
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -1467,11 +1467,12 @@ function taxonomy_field_formatter_prepare_view($entity_type, $entities, $field, ...@@ -1467,11 +1467,12 @@ function taxonomy_field_formatter_prepare_view($entity_type, $entities, $field,
* *
* @param $term * @param $term
* A term object. * A term object.
*
* @return * @return
* The term name to be used as the page title. * The term name to be used as the page title.
*/ */
function taxonomy_term_title($term) { function taxonomy_term_title($term) {
return check_plain($term->name); return $term->name;
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment