🐤 Sync 2026-08-24 23:23:52

This commit is contained in:
github-actions[bot] committed 2026-08-24 23:23:52 +08:00
1 parent 73568a624f
commit 1391687e01
82 files changed
+5971 -5537

No files matched your search

@@ -1280,13 +1280,14 @@ const ansiToHtml = function(text) {
// Escape HTML special characters
const escapeHtml = (str) => {
const map = {
' ': ' ',
'&': '&',
'<': '&lt;',
'>': '&gt;',
'"': '&quot;',
"'": '&#039;'
};
return str.replace(/[&<>"']/g, m => map[m]);
return str.replace(/[&<>"' ]/g, m => map[m]);
};
// Split by ANSI escape sequences and process