Remove a htmlspecialchars() on the results
Because we want to have the result stored as markup in the database.
This commit is contained in:
		
							parent
							
								
									ac50b1afb4
								
							
						
					
					
						commit
						3f9c7b1df9
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -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"; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Tobias Mueller
						Tobias Mueller