summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Barth2010-02-08 20:01:20 (GMT)
committer Alex Barth2010-02-08 20:01:20 (GMT)
commitccd8687b0f02a073697a0732772a7b4492b00885 (patch)
treedce2ae801634b0573d933cd08e4e2819e1f94023
parent7d9401fa91d4221d3f89e9d196fde9d13e9f94de (diff)
#708044 Will White: Remove redundant encoding.
-rw-r--r--views/views_plugin_style_rss_fields.inc2
-rw-r--r--views/views_rss_views_fields.theme.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/views/views_plugin_style_rss_fields.inc b/views/views_plugin_style_rss_fields.inc
index 5d6a155..8884649 100644
--- a/views/views_plugin_style_rss_fields.inc
+++ b/views/views_plugin_style_rss_fields.inc
@@ -137,7 +137,7 @@ class views_plugin_style_rss_fields extends views_plugin_style {
$item = array();
foreach (array_merge($this->options['fields'], $this->options['georss']) as $key => $val) {
if (!isset($this->view->field[$val])) continue;
- $item[$key] = htmlentities($row[$val], ENT_QUOTES, '', FALSE);
+ $item[$key] = $row[$val];
}
$items[] = $item;
}
diff --git a/views/views_rss_views_fields.theme.inc b/views/views_rss_views_fields.theme.inc
index e74457e..891e836 100644
--- a/views/views_rss_views_fields.theme.inc
+++ b/views/views_rss_views_fields.theme.inc
@@ -51,7 +51,7 @@ function template_preprocess_views_rss_fields_item(&$vars) {
// Loop through key=>value pairs
foreach ($item as $key => $value) {
if ($value) {
- $row .= '<' . $key . '>' . filter_xss_admin($value) . '</' . $key . '>
+ $row .= '<' . $key . '>' . check_plain($value) . '</' . $key . '>
';
}
}