diff --git apachesolr.module apachesolr.module
index bce9122..04b7f04 100644
--- apachesolr.module
+++ apachesolr.module
@@ -2620,7 +2620,7 @@ function apachesolr_l($text, $path, $options = array()) {
$get = array_diff_key($_GET, array('q' => 1, 'page' => 1), $options['query'], $query->get_url_queryvalues());
$options['query'] += $get;
- return '' . ($options['html'] ? $text : check_plain($text)) . '';
+ return '' . ($options['html'] ? $text : check_plain(html_entity_decode($text))) . '';
}
function apachesolr_js() {
@@ -2653,7 +2653,7 @@ function apachesolr_js() {
function theme_apachesolr_unclick_link($vars) {
apachesolr_js();
if (empty($vars['options']['html'])) {
- $vars['facet_text'] = check_plain($vars['facet_text']);
+ $vars['facet_text'] = check_plain(html_entity_decode($vars['facet_text']));
}
else {
// Don't pass this option as TRUE into apachesolr_l().