From 274baec200e2a552ec3676a300daa639dadabae6 Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Sat, 12 Nov 2022 11:37:07 +0800 Subject: [PATCH] fix(web/lists): tags --- web/app/controllers/lists.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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));