mioku-plugin-deerpipe 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/utils.ts +5 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mioku-plugin-deerpipe",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "🦌管签到插件,支持自🦌、帮🦌、补🦌、🦌历、🦌榜",
5
5
  "main": "index.ts",
6
6
  "type": "module",
package/utils.ts CHANGED
@@ -103,11 +103,11 @@ export function formatDateTime(timestamp: number): string {
103
103
 
104
104
  export function escapeHtml(value: string): string {
105
105
  return String(value)
106
- .replace(/&/g, "&amp);")
107
- .replace(/</g, "&lt);")
108
- .replace(/>/g, "&gt);")
109
- .replace(/"/g, "&quot);")
110
- .replace(/'/g, "&#39);");
106
+ .replace(/&/g, "&amp;")
107
+ .replace(/</g, "&lt;")
108
+ .replace(/>/g, "&gt;")
109
+ .replace(/"/g, "&quot;")
110
+ .replace(/'/g, "&#39;");
111
111
  }
112
112
 
113
113
  // 19:00–07:00 视为夜间模式,与 help 插件保持一致