Commit 69b8fc83 authored by anrikun's avatar anrikun Committed by Mike Keran
Browse files

Properly sanitizes term descriptions that are used in exposed term filters.

parent e814b2e1
......@@ -1673,7 +1673,7 @@ dateFormat: "dd-mm-yy"
}
$terms = taxonomy_term_load_multiple($tids);
foreach ($terms as $tid => $term) {
$form[$filter_id]['#bef_term_descriptions'][$tid] = $term->description;
$form[$filter_id]['#bef_term_descriptions'][$tid] = check_markup($term->description, $term->format, '', TRUE);
}
}
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment