summaryrefslogtreecommitdiff
path: root/modules/taxonomy/taxonomy.tokens.inc
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-11-07 14:18:07 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-11-07 14:18:07 +0000
commit9e373e76f912615f675301838680c6b47795e499 (patch)
treeb5240a79961adfac4cbc5a6cc29f6c6433e6fbe2 /modules/taxonomy/taxonomy.tokens.inc
parent35ff7005f4bb751e19509a3d9887d2fc455fada9 (diff)
downloadbrdo-9e373e76f912615f675301838680c6b47795e499.tar.gz
brdo-9e373e76f912615f675301838680c6b47795e499.tar.bz2
#625460 by sun: Add input format to taxonomy term descriptions.
Diffstat (limited to 'modules/taxonomy/taxonomy.tokens.inc')
-rw-r--r--modules/taxonomy/taxonomy.tokens.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/taxonomy/taxonomy.tokens.inc b/modules/taxonomy/taxonomy.tokens.inc
index c7d92ce46..1e30f2bc2 100644
--- a/modules/taxonomy/taxonomy.tokens.inc
+++ b/modules/taxonomy/taxonomy.tokens.inc
@@ -115,7 +115,7 @@ function taxonomy_tokens($type, $tokens, array $data = array(), array $options =
break;
case 'description':
- $replacements[$original] = $sanitize ? filter_xss($term->description) : $term->description;
+ $replacements[$original] = $sanitize ? check_markup($term->description, $term->format, '', TRUE) : $term->description;
break;
case 'url':