Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Commit

Permalink
Merge pull request #588 from langningchen:langningchen/issue565
Browse files Browse the repository at this point in the history
修复题目中表格线条缺失
  • Loading branch information
Chen LangNing authored Oct 2, 2023
2 parents bbc08b5 + 83a9734 commit 58c7fa1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
10 changes: 10 additions & 0 deletions Update.json
Original file line number Diff line number Diff line change
Expand Up @@ -725,6 +725,16 @@
"Description": "修复因为严格导致的 @ 不显示"
}
]
},
"0.3.194": {
"UpdateDate": 1696228292398,
"Prerelease": true,
"UpdateContents": [
{
"PR": 588,
"Description": "修复题目中表格线条缺失"
}
]
}
}
}
7 changes: 6 additions & 1 deletion XMOJ.user.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ==UserScript==
// @name XMOJ
// @version 0.3.193
// @version 0.3.194
// @description XMOJ增强脚本
// @author @langningchen
// @namespace https://github/langningchen
Expand Down Expand Up @@ -1223,6 +1223,11 @@ else {
RefreshCount();
addEventListener("focus", RefreshCount);
}

let Tables = document.getElementsByTagName("table");
for (let i = 0; i < Tables.length; i++) {
TidyTable(Tables[i]);
}
}
Style.innerHTML += "code, kbd, pre, samp {";
Style.innerHTML += " font-family: monospace, Consolas, 'Courier New';";
Expand Down

0 comments on commit 58c7fa1

Please sign in to comment.