From b6cb61d04657974886f7079cb0e1e936bd40acaa Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Sat, 8 Oct 2022 16:25:30 +0800 Subject: [PATCH] fix: edb8176f8f05d2f7d0254e4bedff0ba1942e13db --- web/app/controllers/subdomain/blog/self_reviews.php | 4 +--- web/css/uoj-bs5.css | 8 ++++++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/web/app/controllers/subdomain/blog/self_reviews.php b/web/app/controllers/subdomain/blog/self_reviews.php index 4f12519..e0074e4 100644 --- a/web/app/controllers/subdomain/blog/self_reviews.php +++ b/web/app/controllers/subdomain/blog/self_reviews.php @@ -66,13 +66,11 @@ $col_names = array('contest_id'); $problem_review_id = "review-$contest_id-$i"; $result .= '' . chr(ord('A') + $i) . '. ' . $problem['title'] . ''; $result .= '' . $purifier->purify($problem_self_review != null ? $problem_self_review['content'] : '') . ''; - $esc_problem_self_review = rawurlencode($problem_self_review != null ? $problem_self_review['content'] : ''); if ($i == 0) { $contest_review_id = "review-$contest_id-overall"; $contest_self_review = DB::selectFirst("select content from contests_reviews where contest_id = $contest_id and problem_id = -1 and poster = '$username'"); - $esc_contest_self_review = rawurlencode($contest_self_review != null ? $contest_self_review['content'] : ''); - $result .= '' . $purifier->purify($problem_self_review != null ? $problem_self_review['content'] : '') . ''; + $result .= '' . $purifier->purify($contest_self_review != null ? $contest_self_review['content'] : '') . ''; } $result .= ''; diff --git a/web/css/uoj-bs5.css b/web/css/uoj-bs5.css index b579c3f..3af5ad7 100644 --- a/web/css/uoj-bs5.css +++ b/web/css/uoj-bs5.css @@ -55,9 +55,13 @@ label { border-top-color: transparent; } -.uoj-table > thead > tr, -.uoj-table > tbody > tr { +.uoj-table > thead > tr > th:first-child, +.uoj-table > tbody > tr > td:first-child { border-left-color: transparent; +} + +.uoj-table > thead > tr > th:last-child, +.uoj-table > tbody > tr > td:last-child { border-right-color: transparent; }