mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 09:38:19 +08:00
ui: 放行 code:class
This commit is contained in:
1 parent
804e8896d3
commit
7bd7325db6
4 files changed
+6
-3
No files matched your search
@@ -18,7 +18,7 @@ const xss = new Xss.FilterXSS({
|
||||
caption: [],
|
||||
center: [],
|
||||
cite: [],
|
||||
code: [],
|
||||
code: ['class'],
|
||||
col: ['align', 'valign', 'span', 'width'],
|
||||
colgroup: ['align', 'valign', 'span', 'width'],
|
||||
dd: [],
|
||||
|
||||
@@ -99,3 +99,6 @@ export async function downloadProblemSet(pids, name = 'Export') {
|
||||
}
|
||||
await download(`${name}.zip`, targets);
|
||||
}
|
||||
|
||||
window.Hydro.components.downloadProblemSet = downloadProblemSet;
|
||||
window.Hydro.components.download = download;
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/ui-default",
|
||||
"version": "4.11.20",
|
||||
"version": "4.11.21",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
"license": "AGPL-3.0",
|
||||
"main": "hydro.js",
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
{% if model.system.get('server.pro') %}
|
||||
<li class="footer__extra-link-item">Professional Version</li>
|
||||
{% else %}
|
||||
<li class="footer__extra-link-item">Community Version (for non-commercial use only)</li>
|
||||
<li class="footer__extra-link-item">Community Version</li>
|
||||
{% endif %}
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user