Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
drupal.org
better_exposed_filters
Commits
69b8fc83
Commit
69b8fc83
authored
Jan 31, 2017
by
anrikun
Committed by
Mike Keran
Jan 31, 2017
Browse files
Properly sanitizes term descriptions that are used in exposed term filters.
parent
e814b2e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
better_exposed_filters_exposed_form_plugin.inc
better_exposed_filters_exposed_form_plugin.inc
+1
-1
No files found.
better_exposed_filters_exposed_form_plugin.inc
View file @
69b8fc83
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment