summaryrefslogtreecommitdiff
path: root/modules/tag
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-08-29 15:41:02 -0700
committerAndy Staudacher <andy.st@gmail.com>2009-08-29 15:41:02 -0700
commit0204617b602183a3e157bc7e23c617acd22a5212 (patch)
tree429a7f7ecd3eb9e7cc846bbf5a4f28601e09d22d /modules/tag
parentc4d5ecde66c7bffde2259b9815c050e6a4d8f333 (diff)
XSS fixes
Diffstat (limited to 'modules/tag')
-rw-r--r--modules/tag/views/admin_tags.html.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/tag/views/admin_tags.html.php b/modules/tag/views/admin_tags.html.php
index 5bd23112..30dd0728 100644
--- a/modules/tag/views/admin_tags.html.php
+++ b/modules/tag/views/admin_tags.html.php
@@ -32,7 +32,7 @@
<? $current_letter = strtoupper(mb_substr($tag->name, 0, 1)) ?>
<? if ($i == 0): /* first letter */ ?>
- <strong><?= $current_letter ?></strong>
+ <strong><?= SafeString::of($current_letter) ?></strong>
<ul>
<? elseif ($last_letter != $current_letter): /* new letter */ ?>
<? if ($column_tag_count > $tags_per_column): /* new column */ ?>
@@ -42,7 +42,7 @@
<? endif ?>
</ul>
- <strong><?= $current_letter ?></strong>
+ <strong><?= SafeString::of($current_letter) ?></strong>
<ul>
<? endif ?>