mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-29 19:06:20 +00:00
fix: b6e83e1535
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
2fcc71029e
commit
8195e61f74
@ -1150,11 +1150,7 @@ function showStandings() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (show_self_reviews) {
|
if (show_self_reviews) {
|
||||||
col_tr += '<td><div id="review-' + row[2][0] + '"></div>'
|
col_tr += '<td>' + (row[2][0] || '') + '</td>';
|
||||||
+ '<script>'
|
|
||||||
+ '(function() { $("#review-' + row[2][0] + '")'
|
|
||||||
+ '.html(DOMPurify.sanitize(decodeURIComponent("' + encodeURIComponent(String(row[4] || '')) + '"), {ALLOWED_TAGS: ["a", "b", "i", "u", "em", "strong", "sub", "sup", "small", "del", "br"], ALLOWED_ATTR: ["href"]})); })();'
|
|
||||||
+ '</scr' + 'ipt></td>';
|
|
||||||
}
|
}
|
||||||
col_tr += '</tr>';
|
col_tr += '</tr>';
|
||||||
return col_tr;
|
return col_tr;
|
||||||
|
Loading…
Reference in New Issue
Block a user