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.
- package/package.json +1 -1
- package/utils.ts +5 -5
package/package.json
CHANGED
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, "&
|
|
107
|
-
.replace(/</g, "<
|
|
108
|
-
.replace(/>/g, ">
|
|
109
|
-
.replace(/"/g, ""
|
|
110
|
-
.replace(/'/g, "'
|
|
106
|
+
.replace(/&/g, "&")
|
|
107
|
+
.replace(/</g, "<")
|
|
108
|
+
.replace(/>/g, ">")
|
|
109
|
+
.replace(/"/g, """)
|
|
110
|
+
.replace(/'/g, "'");
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
// 19:00–07:00 视为夜间模式,与 help 插件保持一致
|