aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/write_note_form.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/write_note_form.php')
-rw-r--r--templates/write_note_form.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/write_note_form.php b/templates/write_note_form.php
index 914c48b..55ed77e 100644
--- a/templates/write_note_form.php
+++ b/templates/write_note_form.php
@@ -5,7 +5,7 @@
<?php call_template('actor_avatar', ['actor' => $actor]); ?>
</a>
<div class="basicInfo">
- <a class="displayName" href="/@/<?= $actor->handle ?>"><?= $actor->displayName ?></a>
+ <a class="displayName" href="/@/<?= $actor->handle ?>"><?= htmlspecialchars($actor->displayName) ?></a>
<div class="handle">@<?= $actor->handle ?></div>
</div>
</div>