summaryrefslogtreecommitdiff
path: root/motions.php
diff options
context:
space:
mode:
Diffstat (limited to 'motions.php')
-rw-r--r--motions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/motions.php b/motions.php
index a4df212..fe91f39 100644
--- a/motions.php
+++ b/motions.php
@@ -40,8 +40,8 @@
</td>
<td>
<i><a href="motions.php?id=<?php echo $row['tag'].'">'.$row['tag']; ?></a></i><br/>
- <b><?php echo $row['title']; ?></b><br/>
- <pre><?php echo $row['content']; ?></pre>
+ <b><?php echo htmlentities($row['title']); ?></b><br/>
+ <pre><?php echo htmlspecialchars($row['content']); ?></pre>
<br/>
<i>Due: <?php echo($row['due']); ?> UTC</i><br/>
<i>Proposed: <?php echo($row['proposer']); ?> (<?php echo($row['proposed']); ?> UTC)</i><br/>