summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Villegas2012-01-10 07:12:14 (GMT)
committer Marco Villegas2012-01-11 02:58:07 (GMT)
commitfe83aa4b8fa44d83a01494870a80d4651434f4c0 (patch)
tree3d5c31f13c33903a7c19a8b04ae1448b11bdd978
parent7e01a25c1cd7c4949fa68215e47c150177ae28ac (diff)
Filter taxonomy object terms data members before display.
-rw-r--r--vud_term/vud_term.module8
1 files changed, 4 insertions, 4 deletions
diff --git a/vud_term/vud_term.module b/vud_term/vud_term.module
index ceba9fa..ebd81a1 100644
--- a/vud_term/vud_term.module
+++ b/vud_term/vud_term.module
@@ -120,8 +120,8 @@ function _vud_term_generate_table(&$node) {
array('data' => t('Reset')),
);
$rows[] = array(
- $tdetails->name,
- $tdetails->description,
+ check_plain($tdetails->name),
+ check_plain($tdetails->description),
theme('vud_widget', $entity_id, "term", $tag, $widget),
"<span id=\"total-votes-term-$entity_id\">". _vud_term_get_row_votes($entity_id, $tag) .'</span>',
l('Reset your vote', "votereset/term/$entity_id/$tag/$reset_token"),
@@ -135,8 +135,8 @@ function _vud_term_generate_table(&$node) {
array('data' => t('Score')),
);
$rows[] = array(
- $tdetails->name,
- $tdetails->description,
+ check_plain($tdetails->name),
+ check_plain($tdetails->description),
theme('vud_widget', $entity_id, "term", $tag, $widget),
"<span id=\"total-votes-term-$entity_id\">". _vud_term_get_row_votes($entity_id, $tag) .'</span>',
);