Remove a htmlspecialchars() on the results

Because we want to have the result stored as markup in the database.
This commit is contained in:
Tobias Mueller 2009-06-06 17:53:27 +02:00
parent ac50b1afb4
commit 3f9c7b1df9

View file

@ -57,7 +57,7 @@ if (isset ($election) && $election !== FALSE) {
if ($display) { if ($display) {
echo "<hr/>"; echo "<hr/>";
echo htmlspecialchars($results["result"]); echo $results["result"]; // We want to pull Markup from the database and display it here.
echo "<hr/>"; 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"; 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";