[foundation-web] Remove a htmlspecialchars() on the results



commit 3f9c7b1df947cb604c28fb9129d070cdf287c587
Author: Tobias Mueller <tobiasmue gnome org>
Date:   Sat Jun 6 17:53:27 2009 +0200

    Remove a htmlspecialchars() on the results
    
    Because we want to have the result stored as markup in the database.
---
 foundation.gnome.org/vote/results.wml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/foundation.gnome.org/vote/results.wml b/foundation.gnome.org/vote/results.wml
index b17bbb4..ac5ad5e 100644
--- a/foundation.gnome.org/vote/results.wml
+++ b/foundation.gnome.org/vote/results.wml
@@ -57,7 +57,7 @@ if (isset ($election) && $election !== FALSE) {
 
 if ($display) {
   echo "<hr/>";
-  echo htmlspecialchars($results["result"]);
+  echo $results["result"]; // We want to pull Markup from the database and display it here.
   echo "<hr/>";
    
   echo "<p>Please look at the <a href=\"votes.php?election_id=".rawurlencode($election_id)."\">list of all votes</a> and verify that your vote is correct.</p>\n";



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]