migrate: hustoj: fix special statements

YES THIS *IS* HUSTOJ
This commit is contained in:
undefined committed 2024-10-01 09:23:48 +08:00
1 parent bccca2f5d2
commit ce3ccb1c4c
1 file changed
+1 -1
+1 -1
View File
@@ -175,7 +175,7 @@ export async function run({
samples: [[pdoc.sample_input.trim(), pdoc.sample_output.trim()]],
hint: pdoc.hint,
source: pdoc.source,
}, 'html');
}, 'html').replace(/<math xm<x>lns=/g, '<math xmlns=');
const uploadFiles = content.matchAll(/(?:src|href)="\/upload\/([^"]+\/([^"]+))"/g);
for (const file of uploadFiles) {
try {