diff --git a/web/app/controllers/lists.php b/web/app/controllers/lists.php index e1fdf75..6924afe 100644 --- a/web/app/controllers/lists.php +++ b/web/app/controllers/lists.php @@ -44,7 +44,7 @@ function getListTR($info) { $html .= ' ' . UOJLocale::get('hidden') . ' '; } foreach ($list->queryTags() as $tag) { - $html .= ' ' . $tag['tag'] . ' '; + $html .= ' ' . HTML::escape($tag) . ' '; } $html .= HTML::tag('td', [], max(0, $accepted)); $html .= HTML::tag('td', [], count($problems));