projects
/
project/views_rss.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
807710f
)
Issue #779760 by icosa, trisketonni: fixed decoding of ' for check_plain()
author
Maciej Zgadzaj
Sun, 9 Oct 2011 19:29:00 +0000 (21:29 +0200)
committer
Maciej Zgadzaj
Sun, 9 Oct 2011 19:29:00 +0000 (21:29 +0200)
views/views_rss_views_fields.theme.inc
patch
|
blob
|
blame
|
history
diff --git
a/views/views_rss_views_fields.theme.inc
b/views/views_rss_views_fields.theme.inc
index
f81bd0d
..
90a91e8
100644
(file)
--- a/
views/views_rss_views_fields.theme.inc
+++ b/
views/views_rss_views_fields.theme.inc
@@
-72,7
+72,7
@@
function template_preprocess_views_rss_fields_item(&$vars) {
$row = '';
foreach ($item as $key => $value) {
if ($value) {
- $row .= "<$key>". check_plain(htmlspecialchars_decode($value)) ."</$key>\n";
+ $row .= "<$key>". check_plain(htmlspecialchars_decode($value, ENT_QUOTES)) ."</$key>\n";
}
}