Drupal Association members fund grants that make connections all over the world.
I'm wondering why the term description is not filtered using description format when displaying the 'block' "term being viewed : description" inside a panel.
We use panels to override the default display of taxonomy/term/* pages. We display the term description using "Taxonomy term > term description" in panel "add content" dialog box. Description is displayed but only with _filter_autop and filter_xss_admin applied on it instead of using "filtered HTML" filter has it is currently defined in my term.
Related code is in the file ctools/plugins/content_types/term_context/term_description.inc line 23 :
$block->content = _filter_autop(filter_xss_admin($term->description));
And the fix for my problem is to replace this line by the following :
$block->content = check_markup($term->description, $term->format);
What is the reason why the filter set in term edit form is not used ?